pytest-monkeytype: Generate Monkeytype annotations from your pytest tests.
Project description
MonkeyType as a pytest plugin.
pip install pytest-monkeytype # Generate annotations by running your pytest tests as usual: py.test --monkeytype-output=./monkeytype.sqlite3 # Get a listing of modules annotated by monkeytype monkeytype list-modules # Generate a stub file for those annotations using monkeytype: monkeytype stub some.module # Apply these annotations directly monkeytype apply some.module
This project is inspired by pytest-annotate
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pytest_monkeytype-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6306ec8db48f31f932965c92c68846f8281d6c095aa230a6eddaab250fbce732 |
|
MD5 | e327674395a3b18044ff21260af9341c |
|
BLAKE2b-256 | 253ef5fe50bb7ddad43b274929fcf953c493b06f10095fffb9dcef4964f69303 |