Skip to content

Commit 6339a91

Browse files
committed
Add Spinx Lint and extra linters to pre-commit
1 parent df7ef72 commit 6339a91

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.pre-commit-config.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@ ci:
22
autoupdate_schedule: quarterly
33

44
repos:
5+
- repo: https://github.com/pre-commit/pygrep-hooks
6+
rev: v1.10.0
7+
hooks:
8+
- id: rst-backticks
9+
510
- repo: https://github.com/pre-commit/pre-commit-hooks
611
rev: v5.0.0
712
hooks:
813
- id: check-added-large-files
914
- id: check-case-conflict
1015
- id: check-merge-conflict
11-
- id: check-symlinks
16+
- id: check-json
1217
- id: check-yaml
1318
- id: end-of-file-fixer
1419
- id: mixed-line-ending
20+
- id: requirements-txt-fixer
1521
- id: trailing-whitespace
1622

1723
- repo: https://github.com/codespell-project/codespell
@@ -37,7 +43,17 @@ repos:
3743
- id: rst-inline-touching-normal
3844

3945
- repo: https://github.com/astral-sh/ruff-pre-commit
40-
rev: v0.7.1
46+
rev: v0.9.1
4147
hooks:
4248
- id: ruff
4349
- id: ruff-format
50+
51+
- repo: https://github.com/sphinx-contrib/sphinx-lint
52+
rev: v1.0.0
53+
hooks:
54+
- id: sphinx-lint
55+
56+
- repo: meta
57+
hooks:
58+
- id: check-hooks-apply
59+
- id: check-useless-excludes

0 commit comments

Comments
 (0)