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. You can run the sync script on Python 3.11+ by running:

hatch run sync

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.3.25.tar.gz.

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.3.25.tar.gz
Algorithm Hash digest
SHA256 115a288e538ebc551d53b93dd1f1b027a2cea7b9f01a4fdccae205df7d692dd5
MD5 7520539189f94171ec2db23dffa2643f
BLAKE2b-256 bac48755a5da6684a3669d270ea66bbdb8691cead5518ed6291c13c2c4de8e31

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.3.25-py3-none-any.whl
Algorithm Hash digest
SHA256 e27379f02e8d8d9527183f1a8af81cad1309f13f8086ee217345bbe299eb7530
MD5 bd506e79afcc802de7b7698ed2476945
BLAKE2b-256 496d8c82af2ab28449c535e16d8bdb9b99805c0446bba2747ef0a5aa817ae2f3

See more details on using hashes here.

Provenance

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