mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-09 08:40:11 -06:00
pre-commit: Add the sphinx-lint hook
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user