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.4.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6666aba2e488fc748cd3b351e9fc1ee9fe17682779d19914ea2870502abc93ee |
|
MD5 | e5a21d2acbb3bb43926336e691552944 |
|
BLAKE2b-256 | 7b1cd1d056d95f0b7bc9c5bf3cc2c5292f38c0fd20e7aa43d3c8a36a02702e99 |
Hashes for validate_pyproject_schema_store-2024.4.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 121c94131c325e0e53b83b9c2e831bcc20173e560b4039fedd703aba8bfc690e |
|
MD5 | 3c0fb3e9979f9c81256c76ad25507535 |
|
BLAKE2b-256 | 59301eeaa2e066562bba55143c0707bbd2286f153191892c40922405d29424d5 |