A pytest
plugin to run the ty
type checker.
Configure ty
in pyproject.toml
or ty.toml
,
see the ty
documentation.
You can install "pytest-ty" from PyPI
:
uv add --dev pytest-ty
pip install pytest-ty
- Activate the plugin when running
pytest
:pytest --ty
- Activate via
pytest
configuration:addopts = "--ty"
Distributed under the terms of the MIT
license, "pytest-ty" is free and open source software