A plugin set for validate-pyproject and schema-store.
Project description
validate-pyproject-schema-store
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
Release history Release notifications | RSS feed
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
- Download URL: validate_pyproject_schema_store-2024.8.8.tar.gz
- Upload date:
- Size: 81.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afc0d42f84f9a1c75b5d0fe92cca1c3fff076d42fac7fa92700607551d13d966 |
|
MD5 | b8fcb1b1275d19398adfc500109382bc |
|
BLAKE2b-256 | 08c30e358cba07f26628eb31abea0a73d06bc7d61339c19a531b90104946920c |
Provenance
File details
Details for the file validate_pyproject_schema_store-2024.8.8-py3-none-any.whl
.
File metadata
- Download URL: validate_pyproject_schema_store-2024.8.8-py3-none-any.whl
- Upload date:
- Size: 82.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25276237293b2b18e3e5245abf6853b52a966a68869fc5d92020958418921da4 |
|
MD5 | 93e3461f19f2b9fe3058445ca1788c10 |
|
BLAKE2b-256 | 844df7b239cfdf436dce0986fa0dd838fb469c09ae50231fb865ab2cc66bbd6a |