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.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06ea75db43c5ca91cecc16ad89e37a6df4991a063360d587148c00c871b2253 |
|
MD5 | 8fea8891322c422eaf0750c110332c7d |
|
BLAKE2b-256 | 845f5746f718e246d4280a661cde6552d3498886e0e62112d46f63681c6d54aa |
Hashes for validate_pyproject_schema_store-2024.1.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acb49456d7793a19ed31a4a2d5e8fc69308015b1a7722c8103ec660ff86601bf |
|
MD5 | ef1b09e1de0c79811fc077d05588880e |
|
BLAKE2b-256 | b3985d795906f2e1af0930011f10359bc4dd3b09e8dd900f7ec8a7e12c03bf01 |