Metadata-Version: 2.0
Name: pytest-monkeytype
Version: 1.0.1
Summary: pytest-monkeytype: Generate Monkeytype annotations from your pytest tests.
Home-page: UNKNOWN
Author: Marius van Niekerk
Author-email: marius.v.niekerk@gmail.com
License: MIT
Description-Content-Type: UNKNOWN
Keywords: pytest py.test types annotations MonkeyType monkeytype pep484
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Framework :: Pytest
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.6
Requires-Dist: MonkeyType (>=18.2.0)
Requires-Dist: pytest (>=3.2.0)


pytest-monkeytype
=================

|Build Status| |License| |PyPI Python| |PyPI Version| |PyPI Status|
|PyPI Wheel|

`MonkeyType <https://github.com/Instagram/MonkeyType>`__ as a
`pytest <https://docs.pytest.org/en/latest/>`__ 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 <https://github.com/kensho-technologies/pytest-annotate>`__

.. |Build Status| image:: https://travis-ci.org/mariusvniekerk/pytest-monkeytype.svg?branch=master
   :target: https://travis-ci.org/mariusvniekerk/pytest-monkeytype
.. |License| image:: https://img.shields.io/badge/License-MIT-blue.svg
   :target: https://opensource.org/licenses/Apache-2.0
.. |PyPI Python| image:: https://img.shields.io/pypi/pyversions/pytest-monkeytype.svg
   :target: https://pypi.python.org/pypi/pytest-monkeytype
.. |PyPI Version| image:: https://img.shields.io/pypi/v/pytest-monkeytype.svg
   :target: https://pypi.python.org/pypi/pytest-monkeytype
.. |PyPI Status| image:: https://img.shields.io/pypi/status/pytest-monkeytype.svg
   :target: https://pypi.python.org/pypi/pytest-monkeytype
.. |PyPI Wheel| image:: https://img.shields.io/pypi/wheel/pytest-monkeytype.svg
   :target: https://pypi.python.org/pypi/pytest-monkeytype



