pre-commit: Add the sphinx-lint
hook
This commit is contained in:
parent
efa7c6aedf
commit
244e3d314c
@ -78,3 +78,10 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: git-check
|
- id: git-check
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
|
|
||||||
|
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
||||||
|
rev: v1.0.0
|
||||||
|
hooks:
|
||||||
|
- id: sphinx-lint
|
||||||
|
# NOTE Looks like `bad-dedent` gives too many false-positives.
|
||||||
|
args: ['--disable', 'bad-dedent']
|
||||||
|
Loading…
Reference in New Issue
Block a user