Skip to content

Commit f3f4730

Browse files
committed
build: more pre-commit checks
I tried `check-hooks-apply`, but it complained that check-symlinks doesn't apply because I have no symlinks. That's dumb. I want to protect against future additions of bad symlinks. I tried `rst-backticks`, but it complained about every single-backticked thing in my docs. Sphinx allows single backticks, they just mean something different than code.
1 parent 4227045 commit f3f4730

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.pre-commit-config.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,18 @@ repos:
1414
exclude: "(status\\.json|\\.min\\.js)$"
1515
- id: trailing-whitespace
1616
exclude: "stress_phystoken|\\.py,cover$"
17+
18+
- repo: https://github.com/pre-commit/pygrep-hooks
19+
rev: v1.10.0
20+
hooks:
21+
- id: rst-directive-colons
22+
- id: rst-inline-touching-normal
23+
24+
- repo: https://github.com/sphinx-contrib/sphinx-lint
25+
rev: v1.0.0
26+
hooks:
27+
- id: sphinx-lint
28+
29+
- repo: meta
30+
hooks:
31+
- id: check-useless-excludes

0 commit comments

Comments
 (0)