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.31.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd3b1164f56746e25d5673c1b2f58881ba1a38a7cabb44da135accea6a3e387 |
|
MD5 | 31c2794fbc96074209aba8c09ee160da |
|
BLAKE2b-256 | 4e4954a5a753abfe248889559852fa47f2cbe190b6c0ddf81ce2b3600a21ab2d |
Hashes for validate_pyproject_schema_store-2024.1.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcc81da457646a294bdc46b77e39a42d2289e4da83ad6b8ce7078c1935c86476 |
|
MD5 | 74af11a31ae0e6b5ca91e659e849fbe6 |
|
BLAKE2b-256 | c4cacf790cb1f01997306e3f1900f54ebbed3ca14895375bdced1f350caca8e3 |