Skip to main content

pytest-monkeytype: Generate Monkeytype annotations from your pytest tests.

Project description

pytest-monkeytype

Build Status License PyPI Python PyPI Version PyPI Status PyPI Wheel

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

pytest-monkeytype-1.0.5.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file pytest-monkeytype-1.0.5.tar.gz.

File metadata

  • Download URL: pytest-monkeytype-1.0.5.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for pytest-monkeytype-1.0.5.tar.gz
Algorithm Hash digest
SHA256 1bb318d1eccf0f4642a05320dd215b30ec9663c7c831549fdbcb99cb0c54f01f
MD5 e0d4973a486e004cf1562806c451d638
BLAKE2b-256 133cb7bebb51c59e240df28f7de2a1cb4ba2805e12e3f4e99c8884d99f11b515

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page