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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.4.29.tar.gz
Algorithm Hash digest
SHA256 af69238206335861fe3a8c7519163f8af6f46165017e04c8c05c714cbdeef214
MD5 4dd00cf659560f2007b4e29c936db47b
BLAKE2b-256 f4938aa8562438b02be70840f43d2b4b194688e576f723e93e5fce76c66876b7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.4.29-py3-none-any.whl
Algorithm Hash digest
SHA256 7c88c033f07b174740463935064bc8d80b3da503fd40715d0c341e5219cd9063
MD5 08b96c8b6cbbd0ee6823883727dd56c1
BLAKE2b-256 a0c7bd3003eeea2b68d3c2abaac69da8594aa80673abd2bc4e1ab355a1ea6950

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