{ "info": { "author": "Daniel Bader", "author_email": "mail@dbader.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Testing" ], "description": "pytest-mypy\n===================================\n\n.. image:: https://travis-ci.org/dbader/pytest-mypy.svg?branch=master\n :target: https://travis-ci.org/dbader/pytest-mypy\n :alt: See Build Status on Travis CI\n\n.. image:: https://img.shields.io/pypi/v/pytest-mypy.svg\n :target: https://pypi.python.org/pypi/pytest-mypy\n :alt: See Latest Release on PyPI\n\nMypy static type checker plugin for Pytest\n\n----\n\nFeatures\n--------\n\n* Runs the mypy static type checker on your source files as part of your Pytest test runs.\n* Does for `mypy`_ what the `pytest-flake8`_ plugin does for `flake8`_.\n* This is a work in progress \u2013 pull requests appreciated.\n\n\nInstallation\n------------\n\nYou can install \"pytest-mypy\" via `pip`_ from `PyPI`_:\n\n.. code-block:: bash\n\n $ pip install pytest-mypy\n\nUsage\n-----\n\nYou can enable pytest-mypy with the ``--mypy`` flag:\n\n.. code-block:: bash\n\n $ py.test --mypy test_*.py\n\nMypy supports `reading configuration settings `_ from a ``mypy.ini`` file.\nAlternatively, the plugin can be configured in a ``conftest.py`` to invoke mypy with extra options:\n\n.. code-block:: python\n\n def pytest_configure(config):\n plugin = config.pluginmanager.getplugin('mypy')\n plugin.mypy_argv.append('--check-untyped-defs')\n\nYou can restrict your test run to only perform mypy checks and not any other tests by using the `-m` option:\n\n.. code-block:: bash\n\n py.test --mypy -m mypy test_*.py\n\nContributing\n------------\nContributions are very welcome. Tests can be run with `tox`_, please ensure\nthe coverage at least stays the same before you submit a pull request.\n\nDevelopment Environment Setup\n-----------------------------\nHere's how to install pytest-mypy in development mode so you can test your\nchanges locally:\n\n.. code-block:: bash\n\n $ pyvenv venv\n $ source venv/bin/activate\n $ python setup.py develop\n $ venv/bin/py.test --mypy example_test.py\n\nHow to publish a new version to PyPI\n------------------------------------\n\n.. code-block:: bash\n\n $ pip install twine wheel\n $ python setup.py sdist bdist_wheel\n $ twine upload dist/*\n\nLicense\n-------\n\nDistributed under the terms of the `MIT`_ license, \"pytest-mypy\" is free and open source software\n\nIssues\n------\n\nIf you encounter any problems, please `file an issue`_ along with a detailed description.\n\nMeta\n----\n\nDaniel Bader \u2013 `@dbader_org`_ \u2013 https://dbader.org \u2013 mail@dbader.org\n\nhttps://github.com/dbader/pytest-mypy\n\n\n.. _`MIT`: http://opensource.org/licenses/MIT\n.. _`file an issue`: https://github.com/dbader/pytest-mypy/issues\n.. _`tox`: https://tox.readthedocs.io/en/latest/\n.. _`pip`: https://pypi.python.org/pypi/pip/\n.. _`PyPI`: https://pypi.python.org/pypi\n.. _`mypy`: http://mypy-lang.org/\n.. _`pytest-flake8`: https://pypi.python.org/pypi/pytest-flake8\n.. _`flake8`: https://pypi.python.org/pypi/flake8\n.. _`@dbader_org`: https://twitter.com/dbader_org\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/pv.zarubin/pytest-mypy", "keywords": "", "license": "MIT", "maintainer": "David Tucker", "maintainer_email": "david@tucker.name", "name": "pytest-mypyd", "package_url": "https://pypi.org/project/pytest-mypyd/", "platform": "", "project_url": "https://pypi.org/project/pytest-mypyd/", "project_urls": { "Homepage": "https://gitlab.com/pv.zarubin/pytest-mypy" }, "release_url": "https://pypi.org/project/pytest-mypyd/0.3.5/", "requires_dist": [ "pytest (<4.7,>=2.8) ; python_version < \"3.5\"", "mypy (<0.700,>=0.570) ; python_version < \"3.5\"", "pytest (>=2.8) ; python_version >= \"3.5\"", "mypy (>=0.570) ; python_version >= \"3.5\"", "mypy (>=0.701) ; python_version >= \"3.8.0b1\"" ], "requires_python": "~=3.4", "summary": "Mypy static type checker plugin for Pytest", "version": "0.3.5" }, "last_serial": 5705105, "releases": { "0.3.3": [ { "comment_text": "", "digests": { "md5": "9407b208f2fb5161a8c87786f7902065", "sha256": "72ff56132064c2e8f7ca8e39634560e58789643b299a4e7a9d329a2a88d2f4b9" }, "downloads": -1, "filename": "pytest_mypyd-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "9407b208f2fb5161a8c87786f7902065", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 5129, "upload_time": "2019-08-20T18:11:01", "url": "https://files.pythonhosted.org/packages/53/8e/4896cdbfe352f51fb5e96f5e44656ec69af844906b1608d2228af3084f7d/pytest_mypyd-0.3.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "27c05eeaa6aead03ad1063d3d6ffc4bc", "sha256": "d8e2f3ad37ff0926de330cf24c4d0c8052a5ea32e6a9ba90a237c435a540c900" }, "downloads": -1, "filename": "pytest-mypyd-0.3.3.tar.gz", "has_sig": false, "md5_digest": "27c05eeaa6aead03ad1063d3d6ffc4bc", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 5449, "upload_time": "2019-08-20T18:11:04", "url": "https://files.pythonhosted.org/packages/b6/60/3c329b91bcbbcd889f6c472a7ea808111eea40b7eb705de7e59f96732957/pytest-mypyd-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "d36f0b99ce053413623bbbf3d1eb4d02", "sha256": "0de7c5c49b1fe98d134789182b0ce17120e2fd8c6a73f4197fe0e4b4c12be492" }, "downloads": -1, "filename": "pytest_mypyd-0.3.4-py3-none-any.whl", "has_sig": false, "md5_digest": "d36f0b99ce053413623bbbf3d1eb4d02", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 5128, "upload_time": "2019-08-20T18:17:31", "url": "https://files.pythonhosted.org/packages/59/80/4a6690ca91c005c364891516c001ab5ac2471f05770301b98a6ef277f573/pytest_mypyd-0.3.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "635c03df38877c3ccff0210f802835e3", "sha256": "cf34fbd9ba0cd380c1bcd4e7da3b96481adfdfe1fa8aa53166061eb62a17e542" }, "downloads": -1, "filename": "pytest-mypyd-0.3.4.tar.gz", "has_sig": false, "md5_digest": "635c03df38877c3ccff0210f802835e3", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 5190, "upload_time": "2019-08-20T18:17:33", "url": "https://files.pythonhosted.org/packages/84/f4/ace69b574ac8b2415ef27bf683b10f4fe4ac2a0b194967f8fb2c0a0e8c7a/pytest-mypyd-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "089c2d022c2e334d5ec171d42decaa38", "sha256": "ea02b6b6ea01c30ec08d16440a3932ffee2ec012f2e3603e534237bae95a1d32" }, "downloads": -1, "filename": "pytest_mypyd-0.3.5-py3-none-any.whl", "has_sig": false, "md5_digest": "089c2d022c2e334d5ec171d42decaa38", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 5163, "upload_time": "2019-08-20T19:08:01", "url": "https://files.pythonhosted.org/packages/57/93/e12ec82f260ab70c042734fbc911b2be1d6f7d92810fa431c356f54ba6a4/pytest_mypyd-0.3.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "294ae6a0b08f9a5e7222e95af69b5ff5", "sha256": "811e4f979633e59fb240e402f688a966523621c6f0078e2324bd368475917230" }, "downloads": -1, "filename": "pytest-mypyd-0.3.5.tar.gz", "has_sig": false, "md5_digest": "294ae6a0b08f9a5e7222e95af69b5ff5", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 5219, "upload_time": "2019-08-20T19:08:02", "url": "https://files.pythonhosted.org/packages/4a/58/c3eca0b9a2fc52b2b1f6d6b06730d2f76f716a420230bef5bfb28b75ed01/pytest-mypyd-0.3.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "089c2d022c2e334d5ec171d42decaa38", "sha256": "ea02b6b6ea01c30ec08d16440a3932ffee2ec012f2e3603e534237bae95a1d32" }, "downloads": -1, "filename": "pytest_mypyd-0.3.5-py3-none-any.whl", "has_sig": false, "md5_digest": "089c2d022c2e334d5ec171d42decaa38", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 5163, "upload_time": "2019-08-20T19:08:01", "url": "https://files.pythonhosted.org/packages/57/93/e12ec82f260ab70c042734fbc911b2be1d6f7d92810fa431c356f54ba6a4/pytest_mypyd-0.3.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "294ae6a0b08f9a5e7222e95af69b5ff5", "sha256": "811e4f979633e59fb240e402f688a966523621c6f0078e2324bd368475917230" }, "downloads": -1, "filename": "pytest-mypyd-0.3.5.tar.gz", "has_sig": false, "md5_digest": "294ae6a0b08f9a5e7222e95af69b5ff5", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 5219, "upload_time": "2019-08-20T19:08:02", "url": "https://files.pythonhosted.org/packages/4a/58/c3eca0b9a2fc52b2b1f6d6b06730d2f76f716a420230bef5bfb28b75ed01/pytest-mypyd-0.3.5.tar.gz" } ] }