Add pre-commit for sphinx/myst
Signed-off-by: Cristian Le <git@lecris.dev>
This commit is contained in:
parent
d73a2f02a7
commit
fbbf5343f9
@ -26,6 +26,18 @@ repos:
|
|||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- mdformat-gfm
|
- mdformat-gfm
|
||||||
- mdformat-tables
|
- mdformat-tables
|
||||||
|
exclude: docs\/.*
|
||||||
|
- repo: https://github.com/executablebooks/mdformat
|
||||||
|
# TODO: Temporarily separate docs formatiing
|
||||||
|
# https://github.com/executablebooks/mdformat/issues/234
|
||||||
|
# TODO: Disabled due to lack of colon-fence support
|
||||||
|
rev: 0.7.16
|
||||||
|
hooks:
|
||||||
|
- id: mdformat
|
||||||
|
stages: [ manual ]
|
||||||
|
additional_dependencies:
|
||||||
|
- mdformat-myst
|
||||||
|
files: doc\/(?!README).*\.md$
|
||||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||||
rev: 0.23.0
|
rev: 0.23.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user