mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-30 01:29:07 -05:00
Update pre-commit config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user