Skip to content

Commit 200ce73

Browse files
authored
Update .pre-commit-config.yaml
1 parent aeec617 commit 200ce73

File tree

1 file changed

+28
-20
lines changed

1 file changed

+28
-20
lines changed

{{cookiecutter.project_name}}/.pre-commit-config.yaml

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,59 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0
4-
hooks:
5-
- id: trailing-whitespace
6-
- id: end-of-file-fixer
7-
- id: check-yaml
8-
- id: check-toml
9-
- id: check-xml
10-
- id: check-merge-conflict
11-
- id: check-symlinks
12-
- id: check-illegal-windows-names
13-
- id: mixed-line-ending
14-
args: ["--fix=lf"]
15-
- id: check-case-conflict
16-
172
- repo: https://github.com/python-jsonschema/check-jsonschema
18-
rev: 0.33.0
3+
rev: 0.35.0
194
hooks:
205
- id: check-dependabot
216
- id: check-github-workflows
227
- id: check-github-actions
238
- id: check-readthedocs
249

2510
- repo: https://github.com/rhysd/actionlint
26-
rev: v1.7.7
11+
rev: v1.7.8
2712
hooks:
2813
- id: actionlint
2914
additional_dependencies:
3015
- "github.com/wasilibs/go-shellcheck/cmd/shellcheck@latest"
3116

3217
- repo: https://github.com/woodruffw/zizmor-pre-commit
33-
rev: v1.6.0
18+
rev: v1.16.3
3419
hooks:
3520
- id: zizmor
21+
args: ["--no-progress", "--fix"]
3622

3723
- repo: https://github.com/shellcheck-py/shellcheck-py
38-
rev: v0.10.0.1
24+
rev: v0.11.0.1
3925
hooks:
4026
- id: shellcheck
4127
args: ["--severity=style"]
4228
- repo: https://github.com/astral-sh/ruff-pre-commit
43-
rev: v0.11.13
29+
rev: v0.14.5
4430
hooks:
4531
- id: ruff
4632
args: ["--exit-non-zero-on-fix"]
4733
- id: ruff-format
4834

35+
- repo: https://github.com/sphinx-contrib/sphinx-lint
36+
rev: v1.0.1
37+
hooks:
38+
- id: sphinx-lint
39+
args: ["--enable=default-role"]
40+
files: ^docs/
41+
42+
- repo: https://github.com/pre-commit/pre-commit-hooks
43+
rev: v6.0.0
44+
hooks:
45+
- id: trailing-whitespace
46+
- id: end-of-file-fixer
47+
- id: check-yaml
48+
- id: check-toml
49+
- id: check-xml
50+
- id: check-merge-conflict
51+
- id: check-symlinks
52+
- id: check-illegal-windows-names
53+
- id: mixed-line-ending
54+
args: ["--fix=lf"]
55+
- id: check-case-conflict
56+
4957
# Should be the last:
5058
- repo: meta
5159
hooks:

0 commit comments

Comments
 (0)