pytest-annotate

pytest-annotate: Generate PyAnnotate annotations from your pytest tests.


Keywords
pytest, py, test, types, annotations, pyannotate, mypy, python, testing, testing-tools, tools, type-safety
License
Apache-2.0
Install
pip install pytest-annotate==1.0.1

Documentation

pytest-annotate

Build Status License PyPI Python PyPI Version PyPI Status PyPI Wheel

PyAnnotate as a pytest plugin.

pip install pytest-annotate

# Generate annotations by running your pytest tests as usual:
pytest --annotate-output=./annotations.json

# Apply those annotations using pyannotate:
pyannotate --type-info ./annotations.json .