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.3.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3e54b85b9f227e592c987282f5a80ff0fb205dae160e5d8a940c490ab51319f |
|
MD5 | cd7e8b692553d944e1bafa5c521fb902 |
|
BLAKE2b-256 | 15c348531ece6bfe20a29ab86bdfe3b57741be83067ce3c5fdd95b5e15dd2798 |
Hashes for validate_pyproject_schema_store-2024.3.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f772ca5815fb42dc813a796226571453fb491a343da5585e282cdf5799b8ac9 |
|
MD5 | a0d3f06c0715f5c2ce8a5bcb5fe03a3c |
|
BLAKE2b-256 | a719cd6c4e140df668c913fa7af77d21fa773e52818442663db9ed2c93818af8 |