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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.8.19.tar.gz
Algorithm Hash digest
SHA256 f5eeaad6f78007d221ac93794aa96b2f31521464081b27995c346e2e2adb35dd
MD5 7b9f1f8d50bc86c807b0c5fc75e0ece6
BLAKE2b-256 593c0a4b6367e8b1119e7ca0f774e0fd3b6f8ff8c15224c8df4cbc1e4c500050

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.8.19-py3-none-any.whl
Algorithm Hash digest
SHA256 f7f2972ef5d6c990ffe5869d4b85356f1ef89889cce9b38c5f4e055878a05eaa
MD5 36f9ce5cb1633eac38a1b8dfe724a7be
BLAKE2b-256 da30d69cf45c672230f100a29b2c64803ad4f7ccbc04de09a867f5827066f250

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