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.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 412e8f265b043537a0bab5c2ca223b5cb02f244d26f725eab7e6071304ed84c2 |
|
MD5 | faed072fafc4bc13bc546ef58aae4b2c |
|
BLAKE2b-256 | 7cdd996e23d8fb0fbac19aff0c02e7c7fd759bbd528d33d21ebd1cee4c73b5e8 |
Hashes for validate_pyproject_schema_store-2024.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c53c6ad83c396c8dcfa6eabbd3e05d6888b0f898e0b222d8f3fb2fb13b9f696 |
|
MD5 | c128638fb466d2ac5e1158694bc3f706 |
|
BLAKE2b-256 | e423ebb4c60766485b0153c12702df4cbfda872e719596bc38be27dc098bc56a |