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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.10.14.tar.gz
Algorithm Hash digest
SHA256 cf9a86c385862797478b66002b816ece6d2f4f8ae69921b0d1b06b927efedea5
MD5 3ec8f589cd12d805d27e75ab20e654f0
BLAKE2b-256 3ae3fe0207d3dc4f609582e6b41dabf9b4129e8675d51ffc6f00b6c43e1c9e2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for validate_pyproject_schema_store-2024.10.14.tar.gz:

Publisher: cd.yml on henryiii/validate-pyproject-schema-store

Attestations:

File details

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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.10.14-py3-none-any.whl
Algorithm Hash digest
SHA256 ac33fa1b803ef5960f10570cb6793b8c982afb6dadf6fc54725e27ea2b66ecd6
MD5 e5d450f98582794cad8cc0f59599c284
BLAKE2b-256 4197bb435f3e3edde4ff77f0b3037b0207343e13b5587d6106974f71cc4ca45c

See more details on using hashes here.

Provenance

The following attestation bundles were made for validate_pyproject_schema_store-2024.10.14-py3-none-any.whl:

Publisher: cd.yml on henryiii/validate-pyproject-schema-store

Attestations:

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