Skip to content

Commit 3d0fd13

Browse files
committed
Update pre-commit hooks
1 parent c26841f commit 3d0fd13

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.pre-commit-config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
repos:
2+
- repo: meta
3+
hooks:
4+
- id: check-hooks-apply
5+
- id: check-useless-excludes
26
- repo: https://github.com/pre-commit/pre-commit-hooks
37
rev: v5.0.0
48
hooks:
@@ -19,6 +23,10 @@ repos:
1923
rev: v1.7.5
2024
hooks:
2125
- id: actionlint
26+
- repo: https://github.com/woodruffw/zizmor-pre-commit
27+
rev: v0.8.0
28+
hooks:
29+
- id: zizmor
2230
- repo: https://github.com/shellcheck-py/shellcheck-py
2331
rev: v0.10.0.1
2432
hooks:
@@ -33,6 +41,13 @@ repos:
3341
- id: ruff
3442
args: ["--exit-non-zero-on-fix", "--fix"]
3543
- id: ruff-format
44+
- repo: https://github.com/sphinx-contrib/sphinx-lint
45+
rev: v1.0.0
46+
hooks:
47+
- id: sphinx-lint
48+
args: [--enable=default-role]
49+
files: ^docs/
50+
3651
exclude: ^(tests/fixtures/|tests/test_formatter/__snapshots__/)
3752
ci:
3853
autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit.com hooks"

0 commit comments

Comments
 (0)