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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.11.22.tar.gz
Algorithm Hash digest
SHA256 2da81fea88e49f75d9dd7d99ea80b561b7b6537ee078b9b9772e34b1c4fed976
MD5 5ddba2a5793518350eca82ea0a3888e4
BLAKE2b-256 ecf50517accde5f5a93768f15cdffaf9c1fb38935e32b42e90e0268e2a73bdb3

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.11.22-py3-none-any.whl
Algorithm Hash digest
SHA256 5528f0174f7ac5701ffcf7a37a142f431e7e499970adc6eeed121ce647e6a73b
MD5 90152beada61f33bc9ea324ecb7bbe4d
BLAKE2b-256 3781ff4cb5529c2ec21dd62003e380e546f2012d524ef22db99e59a032e36443

See more details on using hashes here.

Provenance

The following attestation bundles were made for validate_pyproject_schema_store-2024.11.22-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