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"
pytest-ty
is licensed under the MIT license (LICENSE or https://opensource.org/licenses/MIT).