Skip to content

Commit d05ba2c

Browse files
committed
Add validate-pyproject back to pre-commit
ruff does not validate the pyproject.toml. We need to add the validate-pyproject hook back to pre-commit.
1 parent 2195b13 commit d05ba2c

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.pre-commit-config.yaml

+13-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
- repo: https://github.com/astral-sh/ruff-pre-commit
2-
# ruff version
3-
rev: v0.6.2
4-
hooks:
5-
# run the linter
6-
- id: ruff
7-
# run the formatter
8-
- id: ruff-format
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
# ruff version
4+
rev: v0.6.2
5+
hooks:
6+
# run the linter
7+
- id: ruff
8+
# run the formatter
9+
- id: ruff-format
10+
- repo: https://github.com/abravalheri/validate-pyproject
11+
rev: v0.10.1
12+
hooks:
13+
- id: validate-pyproject

0 commit comments

Comments
 (0)