Skip to content

Commit 5fd3af5

Browse files
authored
Update .pre-commit-config.yaml
1 parent 1723511 commit 5fd3af5

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.pre-commit-config.yaml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v6.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
162
- repo: https://github.com/python-jsonschema/check-jsonschema
173
rev: 0.34.1
184
hooks:
@@ -33,6 +19,7 @@ repos:
3319
args:
3420
- "--config=.github/zizmor.yml"
3521
- "--no-progress"
22+
- "--fix"
3623
- repo: https://github.com/shellcheck-py/shellcheck-py
3724
rev: v0.11.0.1
3825
hooks:
@@ -44,6 +31,20 @@ repos:
4431
- id: ruff
4532
args: ["--exit-non-zero-on-fix"]
4633
- id: ruff-format
34+
- repo: https://github.com/pre-commit/pre-commit-hooks
35+
rev: v6.0.0
36+
hooks:
37+
- id: trailing-whitespace
38+
- id: end-of-file-fixer
39+
- id: check-yaml
40+
- id: check-toml
41+
- id: check-xml
42+
- id: check-merge-conflict
43+
- id: check-symlinks
44+
- id: check-illegal-windows-names
45+
- id: mixed-line-ending
46+
args: ["--fix=lf"]
47+
- id: check-case-conflict
4748

4849
# Should be the last:
4950
- repo: meta

0 commit comments

Comments
 (0)