Skip to content

Commit 901a3dc

Browse files
authored
Add sphinx-lint
1 parent ac64def commit 901a3dc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ repos:
3030
- id: ruff
3131
args: ["--exit-non-zero-on-fix"]
3232
- id: ruff-format
33+
34+
- repo: https://github.com/sphinx-contrib/sphinx-lint
35+
rev: v1.0.1
36+
hooks:
37+
- id: sphinx-lint
38+
args: ["--enable=default-role"]
39+
files: ^docs/
40+
3341
- repo: https://github.com/pre-commit/pre-commit-hooks
3442
rev: v6.0.0
3543
hooks:

0 commit comments

Comments
 (0)