Update pre-commit config

This commit is contained in:
Vijay Janapa Reddi
2026-02-26 15:23:01 -05:00
parent c8447dd556
commit 49ca6889ca
2 changed files with 14 additions and 0 deletions

View File

@@ -184,6 +184,13 @@ repos:
pass_filenames: true
files: ^book/quarto/contents/.*\.qmd$
- id: book-check-figure-div-syntax
name: "Book: Enforce figure div syntax (no markdown-image or chunk fig-cap/fig-alt)"
entry: python3 book/tools/scripts/content/check_figure_div_syntax.py
language: system
pass_filenames: false
files: ^book/quarto/contents/.*\.qmd$
- id: book-check-figure-completeness
name: "Book: Check figures have captions and alt-text"
entry: ./book/binder check figures --scope captions