A pytest plugin that automatically generates Python type annotations by collecting runtime type information during test execution.
pytest-monkeytype is a pytest plugin that integrates MonkeyType, Instagram's runtime type collection system, into the pytest testing framework. It enables developers to automatically generate Python type annotations by capturing type information while tests run, significantly reducing the manual effort required to add type hints to existing codebases.
The plugin follows a pragmatic approach to type annotation, believing that types should be inferred from actual runtime behavior rather than manually specified, making it easier to adopt type hints in large, untyped codebases.
Performant type-checking for python.
Auto-generate PEP-484 annotations
A fast and efficient type assistant for Python, including tensor shape inference
Automatically add simple type annotations to your code
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.