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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.9.23.tar.gz
Algorithm Hash digest
SHA256 78c069da331d17af2c1bb83fae7ce0cdc768d8aba492218ab353848a4716e1d8
MD5 3aa4edf53cc001ae809412155287ed7c
BLAKE2b-256 0c41e461fe310161b578d01928ebff888c1a05052a746d2b6fe035ad7e7e1a70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.9.23-py3-none-any.whl
Algorithm Hash digest
SHA256 aa3597c538e136cc158d0d4329df7b076674e30ddc70f2c794f8d2c7e5d21333
MD5 a77e68f122331b5ac6406a8c2b9924a5
BLAKE2b-256 a10b169bb6d92a825ea5e9cc292bb3d24a3b1096e788a62ed8ecd24af166b626

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