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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.7.1.tar.gz
Algorithm Hash digest
SHA256 55d5b639a95953ac91e4045500f13428cabe66dd16f9ad8fdd06c639884ec003
MD5 0fe57340ba118bdccb8f54104f864e1a
BLAKE2b-256 4728426ab8badc08a365117ee47a2be8e2bf440a13336a47f52792ea2d52db16

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7edbfe2c0699187817841a18bf0c58c8c6ea3c1d777997dd3734cbd4d571b89
MD5 7005906cc46d1ab060fc5661fe36ce62
BLAKE2b-256 be69d10582ffa6fe6bbd3072b204c76367bb224467855c01dec3dc262f355e8b

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