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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.5.20.tar.gz
Algorithm Hash digest
SHA256 dec46ef6a7bba7d02a3dcdc3d0cb93f7215a60b6fed50c5b971ba1eb817e1fbb
MD5 8f78deea2fc442e2dc4bb35ef26c0f0d
BLAKE2b-256 ae317a4338cbe7916d62493e161ba2be2816bf09dc50fd5b6a73226d516f8a95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.5.20-py3-none-any.whl
Algorithm Hash digest
SHA256 3b57aef7e966516b86d48b43ee8a62c75a79613d83646a99b40b5d866d8b49d2
MD5 ad5bf6f4d1779b1c400abd5ef131f687
BLAKE2b-256 bcb1f86a0bcf67c1b7d6087738fe6ef7909238c1b99bf2b3b62025d4305ce667

See more details on using hashes here.

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