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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.11.11.tar.gz
Algorithm Hash digest
SHA256 7b800ab73049b03bb3c613e30ab1160299da8648b0092f5a722f56396b228968
MD5 283ef4d23ba779f6becb98cbc6188c2b
BLAKE2b-256 69e5902a7e2ec459abe013f391a0746ea0c080b139884bec90a71afc4b6ec953

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.11.11-py3-none-any.whl
Algorithm Hash digest
SHA256 4157febd027cf382e26ba5d755588d93dac3ed677a273d8eb4dd86fb051f4c6a
MD5 53a360ddcd70f2889ebcdfd575128a8f
BLAKE2b-256 d7404da3a008a5c4e0bc260c965de3e6a20c6d08aed7646e1b42be14c9c3be8b

See more details on using hashes here.

Provenance

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