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
No known key found for this signature in database
GPG Key ID: 8BEDB7D11F95D5E3

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']