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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.8.8.tar.gz
Algorithm Hash digest
SHA256 afc0d42f84f9a1c75b5d0fe92cca1c3fff076d42fac7fa92700607551d13d966
MD5 b8fcb1b1275d19398adfc500109382bc
BLAKE2b-256 08c30e358cba07f26628eb31abea0a73d06bc7d61339c19a531b90104946920c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for validate_pyproject_schema_store-2024.8.8-py3-none-any.whl
Algorithm Hash digest
SHA256 25276237293b2b18e3e5245abf6853b52a966a68869fc5d92020958418921da4
MD5 93e3461f19f2b9fe3058445ca1788c10
BLAKE2b-256 844df7b239cfdf436dce0986fa0dd838fb469c09ae50231fb865ab2cc66bbd6a

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