Skip to content

Add multitool schema validation - #712

Open
be-student wants to merge 1 commit into
python-jsonschema:mainfrom
be-student:codex/663-multitool-schema
Open

Add multitool schema validation#712
be-student wants to merge 1 commit into
python-jsonschema:mainfrom
be-student:codex/663-multitool-schema

Conversation

@be-student

Copy link
Copy Markdown

Closes #663.

This vendors the lockfile schema from bazel-contrib/rules_multitool and adds a generated check-multitool pre-commit hook. The hook recognizes multitool.lock.json at the repository root or in nested directories, and positive/negative fixtures cover schema validation and filename selection.

The vendored schema includes its SHA-256 digest, upstream Apache-2.0 license, generated usage documentation, and changelog entry.

Validation:

  • env -u NO_COLOR .tox/py311/bin/coverage run -m pytest (615 passed, 17 skipped)
  • uvx pre-commit run --all-files
  • .tox/mypy/bin/mypy src/ (with Click 8.2.1)
  • uvx tox run -e docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vendor multitool schema

1 participant