Skip to content

Vendor multitool schema #663

@hofbi

Description

@hofbi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions