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
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: