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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a6fe58e6990b8769ad6df188e03b436db5e9b979b59ddc5546b7d5050404e70 |
|
MD5 | b5662c17bd4381989df5e932bc47f824 |
|
BLAKE2b-256 | 85233d3360c5b11d646760bfb8a657bffa0ae594f08d123feb0d7bed40c49da5 |
Hashes for validate_pyproject_schema_store-2024.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08459d8ef779822257554fd58cfc301edb90a99fcde65f231e7bc101c8853b0f |
|
MD5 | 48427e4a82cd7a202858c1901ecd9436 |
|
BLAKE2b-256 | 96ee423c96994a6e39c9fa47fd5f512945dece22addec74e66b0f6ded5e1f268 |