Metadata-Version: 2.4
Name: validate-pyproject-schema-store
Version: 2024.10.21
Summary: A plugin set for validate-pyproject and schema-store.
Project-URL: Homepage, https://github.com/henryiii/validate-pyproject-schema-store
Project-URL: Bug Tracker, https://github.com/henryiii/validate-pyproject-schema-store/issues
Project-URL: Discussions, https://github.com/henryiii/validate-pyproject-schema-store/discussions
Project-URL: Changelog, https://github.com/henryiii/validate-pyproject-schema-store/releases
Author-email: Henry Schreiner <henryfs@princeton.edu>
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Typing :: Typed
Requires-Python: >=3.8
Requires-Dist: importlib-resources; python_version < '3.9'
Provides-Extra: all
Requires-Dist: validate-pyproject[all]; extra == 'all'
Provides-Extra: docs
Requires-Dist: furo>=2023.08.17; extra == 'docs'
Requires-Dist: myst-parser>=0.13; extra == 'docs'
Requires-Dist: sphinx-autodoc-typehints; extra == 'docs'
Requires-Dist: sphinx-copybutton; extra == 'docs'
Requires-Dist: sphinx>=7.0; extra == 'docs'
Provides-Extra: test
Requires-Dist: pytest-cov>=3; extra == 'test'
Requires-Dist: pytest>=6; extra == 'test'
Requires-Dist: tomli; (python_version < '3.11') and extra == 'test'
Requires-Dist: validate-pyproject>=0.16; extra == 'test'
Provides-Extra: validate-pyproject
Requires-Dist: validate-pyproject; extra == 'validate-pyproject'
Description-Content-Type: text/markdown

# validate-pyproject-schema-store

[![Actions Status][actions-badge]][actions-link]

[![PyPI version][pypi-version]][pypi-link]
[![PyPI platforms][pypi-platforms]][pypi-link]

<!-- SPHINX-START -->

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:

```yaml
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:

```bash
pipx run validate-pyproject-schema-store[all]
```

Or for pre-commit:

```yaml
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>=1.10`. You can run the sync script by running:

```bash
hatch run tools/sync.py
```

<!-- prettier-ignore-start -->
[actions-badge]:            https://github.com/henryiii/validate-pyproject-schema-store/workflows/CI/badge.svg
[actions-link]:             https://github.com/henryiii/validate-pyproject-schema-store/actions
[pypi-link]:                https://pypi.org/project/validate-pyproject-schema-store/
[pypi-platforms]:           https://img.shields.io/pypi/pyversions/validate-pyproject-schema-store
[pypi-version]:             https://img.shields.io/pypi/v/validate-pyproject-schema-store
[validate-pyproject]:       https://github.com/abravalheri/validate-pyproject
[schemastore]:              https://www.schemastore.org
<!-- prettier-ignore-end -->
