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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.10.21.tar.gz
Algorithm Hash digest
SHA256 f7c846cb89039df4afe5cc2e1cb6e0806a896aaa0a663522faabb2c32f8a52d1
MD5 e38bf2d833226ba543f59bb02d83e31a
BLAKE2b-256 c97323905a888ffcbf0096fa24f3a4ff00d81f1577c308b2f672c6e38feee1e5

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.10.21-py3-none-any.whl
Algorithm Hash digest
SHA256 d93b3a6de397948fcdb4824a097f7dabb2a7af41f848bdd62bcc26ae37e43a51
MD5 b259c92dae68a6174fca153914b3ae47
BLAKE2b-256 03bbbf3f818fb1f85af2ec108537905971d67433fe12f41a4e3605fdff558b50

See more details on using hashes here.

Provenance

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