python-jsonschema / python-jsonschema/check-jsonschema
Vendor multitool schema
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 341
- Forks
- 71
- Avg merge
- 15d 20h
- Merged PRs (30d)
- 4
Description
It would be cool to also have multitool available as built in schema and pre defined hook. They provide their schema here on github in https://github.com/bazel-contrib/rules_multitool. This is a widely used tool and ruleset in the Bazel ecosystem.
This is the config I have for now to make this available without vendoring:
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.0
hooks:
- id: check-jsonschema
alias: check-multitools
args: ["--schemafile", "https://raw.githubusercontent.com/bazel-contrib/rules_multitool/main/lockfile.schema.json"]
files: "multitool.lock.json" # this depends on where your lockfile is
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with check-jsonschema's existing built-in schema and pre-defined hook support, using rules_multitool's lockfile.schema.json as the source. Done means multitool.lock.json can be validated through built-in support and a pre-defined hook without supplying a remote --schemafile argument.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100