Skip to content

Commit 70226e0

Browse files
authored
Add a few more pre-commit hooks (#518)
1 parent 03168a8 commit 70226e0

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
@@ -7,7 +7,10 @@ repos:
77
- id: check-yaml
88
- id: check-toml
99
- id: check-merge-conflict
10+
- id: check-case-conflict
1011
- id: mixed-line-ending
12+
- id: name-tests-test
13+
args: [--pytest-test-first]
1114
- repo: https://github.com/psf/black-pre-commit-mirror
1215
rev: 25.1.0 # must match pyproject.toml
1316
hooks:
@@ -18,6 +21,18 @@ repos:
1821
hooks:
1922
- id: isort
2023
name: isort (python)
24+
- repo: https://github.com/abravalheri/validate-pyproject
25+
rev: v0.24.1
26+
hooks:
27+
- id: validate-pyproject
28+
- repo: https://github.com/python-jsonschema/check-jsonschema
29+
rev: 0.33.0
30+
hooks:
31+
- id: check-github-workflows
32+
- repo: https://github.com/rhysd/actionlint
33+
rev: v1.7.7
34+
hooks:
35+
- id: actionlint
2136

2237
ci:
2338
autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit.com hooks"

0 commit comments

Comments
 (0)