Metadata-Version: 2.3
Name: pytest-checkers
Version: 1.0.0
Summary: Pytest Plugin for dry-run checks LSPs, Type Checkers, Linters, and Formatters during testing
Author: the-citto
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Typing :: Typed
Requires-Dist: pytest>=9.0.2
Requires-Dist: pytest-checkers[black] ; extra == 'all'
Requires-Dist: pytest-checkers[flake8] ; extra == 'all'
Requires-Dist: pytest-checkers[isort] ; extra == 'all'
Requires-Dist: pytest-checkers[mypy] ; extra == 'all'
Requires-Dist: pytest-checkers[pyright] ; extra == 'all'
Requires-Dist: pytest-checkers[ruff] ; extra == 'all'
Requires-Dist: pytest-checkers[ty] ; extra == 'all'
Requires-Dist: black>=25.12.0 ; extra == 'black'
Requires-Dist: flake8>=7.3.0 ; extra == 'flake8'
Requires-Dist: isort[colors]>=7.0.0 ; extra == 'isort'
Requires-Dist: mypy>=1.19.0 ; extra == 'mypy'
Requires-Dist: pyright[nodejs]>=1.1.407 ; extra == 'pyright'
Requires-Dist: ruff>=0.14.8 ; extra == 'ruff'
Requires-Dist: ty>=0.0.1a33 ; extra == 'ty'
Requires-Python: >=3.13
Provides-Extra: all
Provides-Extra: black
Provides-Extra: flake8
Provides-Extra: isort
Provides-Extra: mypy
Provides-Extra: pyright
Provides-Extra: ruff
Provides-Extra: ty
Description-Content-Type: text/markdown

[github_release]: https://img.shields.io/github/release/the-citto/pytest-checkers.svg?logo=github&logoColor=white&color=orange
[pypi_version]: https://img.shields.io/pypi/v/pytest-checkers.svg?logo=python&logoColor=white
[python_versions]: https://img.shields.io/pypi/pyversions/pytest-checkers.svg?logo=python&logoColor=white
[github_license]: https://img.shields.io/github/license/the-citto/pytest-checkers.svg?logo=github&logoColor=white
<!-- [github_action_tests]: https://github.com/the-citto/culting/actions/workflows/tests.yml/badge.svg -->

[![GitHub Release][github_release]](https://github.com/the-citto/pytest-checkers/releases/)
[![PyPI Version][pypi_version]](https://pypi.org/project/pytest-checkers/)
[![Python Versions][python_versions]](https://pypi.org/project/pytest-checkers/)
[![License][github_license]](https://github.com/the-citto/pytest-checkers/blob/master/LICENSE)
<br>


<figure style="display: inline-block;">
  <img src="https://github.com/the-citto/pytest-checkers/raw/main/docs/the-power-of-exponential-growth-a-story-about-knowledge.jpg" width="200" style="vertical-align: top;">
</figure>

# pytest-checkers

Use desired LSPs, type checkers, linters, and formatters (diff only).

Available optional dependencies:

`pytest_checkers[black,isort,flake8,mypy,pyright,ruff,ty]`

either of the above, or

`pytest_checkers[all]`

Simple flags: `--ruff` `--mypy` etc. or just `--checkers` for all the dependencies installed. 

Use `pyproject.toml` (and `.flake8` until they finally decide to move)
for your preferred settings for every tool.


## Note

pyright installs `pyright[nodejs]`

isort install `isort[colors]`

## Kudos

All of them are somewhat different from what I wanted and made here:

[pytest-black](https://github.com/coherent-oss/pytest-black)

[pytest-isort](https://github.com/stephrdev/pytest-isort)

[pytest-flake8](https://github.com/coherent-oss/pytest-flake8)

[pytest-mypy](https://github.com/realpython/pytest-mypy)

[pytest-pyright](https://github.com/RobertCraigie/pytest-pyright)

[pytest-ruff](https://github.com/businho/pytest-ruff)

[pytest-ty](https://github.com/boidolr/pytest-ty)

