/pytest-annotate

Generate PyAnnotate annotations from your pytest tests.

Primary LanguagePythonApache License 2.0Apache-2.0

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 .