pre-commit: Add the sphinx-lint hook

This commit is contained in:
Alex Turbov
2025-01-04 22:53:12 +04:00
parent efa7c6aedf
commit 244e3d314c

View File

@@ -78,3 +78,10 @@ repos:
hooks:
- id: git-check
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']