Skip to content

Commit bdb8b07

Browse files
committed
Add pyproject.toml validation to pre-commit
1 parent ff2ee1e commit bdb8b07

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ repos:
1616
- id: check-github-workflows
1717
- id: check-renovate
1818
additional_dependencies: ["json5==0.15.0"]
19+
- repo: https://github.com/abravalheri/validate-pyproject
20+
rev: 4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7 # frozen: v0.25
21+
hooks:
22+
- id: validate-pyproject
23+
# Renovate needs an explicit language to update additional_dependencies.
24+
language: python
25+
additional_dependencies: ["validate-pyproject-schema-store[all]==2026.8.15"]
1926
- repo: https://github.com/astral-sh/ruff-pre-commit
2027
# The Ruff version must match requirements-tests.txt.
2128
rev: c59bba8fb259db0fec2bbb77ad8ba51ea7341b56 # frozen: v0.15.20

0 commit comments

Comments
 (0)