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
. You can run the sync script on Python 3.11+ by
running:
hatch run sync
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
Hashes for validate_pyproject_schema_store-2024.2.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346632f9026a4ed296f682c0e816f8fa48bb3900f60edb601abe8723713cd609 |
|
MD5 | 290bd69069934f6c218fe578b9e06735 |
|
BLAKE2b-256 | aa9fe444131a55714fedb8f6ba760b27dbf8018bd2a17aae1680c4dbb2137bc7 |
Hashes for validate_pyproject_schema_store-2024.2.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd361357ad688ffecede1625afed9aa025c7b4a712686adf3504c9435c08f56a |
|
MD5 | 1a090a2fca79104ee1ecfc716baf3a8d |
|
BLAKE2b-256 | 06b8dc2761b47f516f25d03b2ec663a0a800612dd645d7a9b04c43f93b297d3a |