Skip to content

Commit c3e4f8c

Browse files
ebrahimebrahimclaude
authored andcommitted
Remove validate-pyproject pre-commit hook (#337)
The validate-pyproject hook with the validate-pyproject-schema-store[all] plugin depends on daily automated releases from JSON Schema Store. A broken tox schema reference in the latest release caused a spurious CI failure (KeyError: 'https://json.schemastore.org/tox.json'), even though this project doesn't use tox -- the [all] extra loads schemas for every tool on SchemaStore. This is the same class of breakage that has occurred before upstream (henryiii/validate-pyproject-schema-store#9), making the hook inherently brittle. The value it provides is low since configuration errors in tool sections (ruff, mypy, pytest, etc.) are already caught when those tools run, and build metadata errors are caught by the build system itself. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8204714 commit c3e4f8c

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@ repos:
7676
entry: PyBind|Numpy|Cmake|CCache|Github|PyTest
7777
exclude: .pre-commit-config.yaml
7878

79-
- repo: https://github.com/abravalheri/validate-pyproject
80-
rev: "v0.16"
81-
hooks:
82-
- id: validate-pyproject
83-
additional_dependencies: ["validate-pyproject-schema-store[all]"]
84-
8579
- repo: https://github.com/python-jsonschema/check-jsonschema
8680
rev: "0.28.2"
8781
hooks:

0 commit comments

Comments
 (0)