Skip to content

Vendor multitool schema #663

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions