GitHub - henryiii/validate-pyproject-schema-store: Weekly mirror of SchemaStore for validate-pyproject (original) (raw)

validate-pyproject-schema-store

Actions Status

PyPI version PyPI platforms

This provides a versioned copy of SchemaStore for validate-pyproject. You can pin this to get a stable set of schema files.

Nested schemas are not supported yet. Support will require updates to validate-pyproject. For now, they are replaced with "type": "object".

Usage

The following should be supported:

Installing alongside validate-pyproject

Just use pip install validate-pyproject-schema-store wherever you havevalidate-pyproject[all] installed. You can "inject" it if using pipx, or use--pip-args if using pipx run.

In pre-commit, this would be:

repos:

Direct usage

For pre-commit or pipx, you can simplify this a bit by using this package directly. That looks like this:

pipx run validate-pyproject-schema-store[all]

Or for pre-commit:

repos:

This also has the benefit that the version will be pinned and updated by pre-commit automatically.

Developing

This project uses hatch>=1.10. You can run the sync script by running: