Skip to main content

A plugin set for validate-pyproject and schema-store.

Project description

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.

Usage

The following should be supported:

Installing alongside validate-pyproject

Just use pip install validate-pyproject-schema-store wherever you have validate-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:
  - repo: https://github.com/abravalheri/validate-pyproject
    rev: <insert here>
    hooks:
      - id: validate-pyproject
        additional_dependencies: [validate-pyproject[all], validate-pyproject-schema-store]

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:
  - repo: https://github.com/henryiii/validate-pyproject-schema-store
    rev: <insert here>
    hooks:
      - id: validate-pyproject

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:

hatch run tools/sync.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file validate_pyproject_schema_store-2024.6.24.tar.gz.

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.6.24.tar.gz
Algorithm Hash digest
SHA256 7ad2e1f7730f2647165bf4f9f1c37f17657bc2b6d7dd33cb0678edfb18658741
MD5 502f779a5a7a1dab08a7724bd9a2e44c
BLAKE2b-256 cf898c26e699d608965844bd0667480fba7d5a01d7ce38bc78ae05a88fc8ff42

See more details on using hashes here.

File details

Details for the file validate_pyproject_schema_store-2024.6.24-py3-none-any.whl.

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.6.24-py3-none-any.whl
Algorithm Hash digest
SHA256 83eb80d608fcf70d361135d54e76f9025dddf2c17ca920d70a53180af73a2da1
MD5 f845aacd42000eae5ba53e9d31402a4b
BLAKE2b-256 c38b68e313b34f601556c2fee9093b89829d6bc4f807f8670bda2c76bc7f3af6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page