{ "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://github.com/dbader/pytest-mypy", "keywords": "", "license": "MIT", "maintainer": "David Tucker", "maintainer_email": "david@tucker.name", "name": "pytest-mypy", "package_url": "https://pypi.org/project/pytest-mypy/", "platform": "", "project_url": "https://pypi.org/project/pytest-mypy/", "project_urls": { "Homepage": "https://github.com/dbader/pytest-mypy" }, "release_url": "https://pypi.org/project/pytest-mypy/0.4.1/", "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\" and python_version < \"3.8.0b1\"", "mypy (>=0.701) ; python_version >= \"3.8.0b1\"" ], "requires_python": "~=3.4", "summary": "Mypy static type checker plugin for Pytest", "version": "0.4.1" }, "last_serial": 5854764, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "27b0180c5a31b38c5b7ddb091406815d", "sha256": "bea5349b5430544ef1dde6b5320549aef70692313caa17b447da26cd32b856b7" }, "downloads": -1, "filename": "pytest_mypy-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "27b0180c5a31b38c5b7ddb091406815d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4955, "upload_time": "2016-09-29T14:46:21", "url": "https://files.pythonhosted.org/packages/da/9b/b73c658eeab1e736e76728d13ad45cb066c2d6bdc7a190ba52aef3818400/pytest_mypy-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9ffdb09f732de901d9da0019aab9832f", "sha256": "b5802871445792589414e80f8683e370469f9b00d0e5b741d52fc85c125406b5" }, "downloads": -1, "filename": "pytest-mypy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9ffdb09f732de901d9da0019aab9832f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3842, "upload_time": "2016-09-29T14:46:23", "url": "https://files.pythonhosted.org/packages/5a/cf/6591d903319c92623684e370e486afe0a771caaa480dfebbf10d20535912/pytest-mypy-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3a8639c0527211742152a7062716db61", "sha256": "6ca2192a8059ff6dc0a6ee3efd593d0248356a603f747765d0565554b86a4360" }, "downloads": -1, "filename": "pytest_mypy-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3a8639c0527211742152a7062716db61", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4911, "upload_time": "2016-10-17T13:50:19", "url": "https://files.pythonhosted.org/packages/58/17/966c5ea0ae6a182273450461ba982bb9993b4357e995e9718dbca8e8104c/pytest_mypy-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "03a154672337607e2501acedfc3aedb5", "sha256": "505ab22399232d6032befef874442fbfbdbd3d2b8a24df35e2fc98d7bfb0b1e2" }, "downloads": -1, "filename": "pytest-mypy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "03a154672337607e2501acedfc3aedb5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3812, "upload_time": "2016-10-17T13:50:22", "url": "https://files.pythonhosted.org/packages/69/55/ce3a402bdb9cb2bc6d1aba776faabb9fb84571f60ddf7adb2ae264556d32/pytest-mypy-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d21e3f40a71862f161c65de0b8bfd2fd", "sha256": "bf0e40ea90b7e82d9754d6ea9006033adad3f3054c6d09820359249d499ff38d" }, "downloads": -1, "filename": "pytest-mypy-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d21e3f40a71862f161c65de0b8bfd2fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4221, "upload_time": "2016-10-17T14:19:40", "url": "https://files.pythonhosted.org/packages/1d/0a/99342b759984d79d57034e9ae4066ff5e3a94c48006d498d936db72c1130/pytest-mypy-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "bc87e884fa6749716edbc55c3b688c99", "sha256": "9d1b54fa023f2f7e0fd8c52f7486e04c9c0d0dc410623183b0327a3645b7dea5" }, "downloads": -1, "filename": "pytest_mypy-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "bc87e884fa6749716edbc55c3b688c99", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5577, "upload_time": "2017-04-25T13:33:21", "url": "https://files.pythonhosted.org/packages/c6/ab/038d91934fa6aaf0face05af6428bc33410d2a6cadecba90f17d07e2448c/pytest_mypy-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a7b7d1610507f6ddb71df843e39d7a7b", "sha256": "624251b97469291b94cd6288bb514724ce0ecc23f46d27b198a1b928291a4713" }, "downloads": -1, "filename": "pytest-mypy-0.3.0.tar.gz", "has_sig": false, "md5_digest": "a7b7d1610507f6ddb71df843e39d7a7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4244, "upload_time": "2017-04-25T13:33:23", "url": "https://files.pythonhosted.org/packages/de/ee/81e55fb51962805163b21caa3adc0951107f2e6d906197735703703779e8/pytest-mypy-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "ff97f2202c5aee4b00bb165af2e845d0", "sha256": "ab09e95cfdcdb49db6d2531b360cb96e2cf7a3ce128e7efb970da6dd818df2ad" }, "downloads": -1, "filename": "pytest_mypy-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ff97f2202c5aee4b00bb165af2e845d0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5624, "upload_time": "2018-04-18T06:22:07", "url": "https://files.pythonhosted.org/packages/89/c6/1495db235fff95dc57b6d290a1667294984a67fbae94a1e21a088f635464/pytest_mypy-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fb8418ed5801785efdf1f40dfd238e2c", "sha256": "e2a664e11450560a582bd40409fef18dbee695fecc1fcc23b6ba4fc7fe23b417" }, "downloads": -1, "filename": "pytest-mypy-0.3.1.tar.gz", "has_sig": false, "md5_digest": "fb8418ed5801785efdf1f40dfd238e2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4174, "upload_time": "2018-04-18T06:22:09", "url": "https://files.pythonhosted.org/packages/ca/23/623d45abed6bec5b64fcb27e70442e000c9267bf8b2d068768f2aea590b1/pytest-mypy-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "7d406f88f246c38b905229f58346c0ed", "sha256": "8f6436eed8118afd6c10a82b3b60fb537336736b0fd7a29262a656ac42ce01ac" }, "downloads": -1, "filename": "pytest_mypy-0.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7d406f88f246c38b905229f58346c0ed", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3640, "upload_time": "2018-06-01T21:44:33", "url": "https://files.pythonhosted.org/packages/32/91/9458f3099491b3d1a5b84c4d59f4b6064c5d013bab3c5a12f283f1fb7a96/pytest_mypy-0.3.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8f89c308ab967778e5a34896cfb5994c", "sha256": "acc653210e7d8d5c72845a5248f00fd33f4f3379ca13fe56cfc7b749b5655c3e" }, "downloads": -1, "filename": "pytest-mypy-0.3.2.tar.gz", "has_sig": false, "md5_digest": "8f89c308ab967778e5a34896cfb5994c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4310, "upload_time": "2018-06-01T21:44:34", "url": "https://files.pythonhosted.org/packages/7b/a6/83c9ea93898b4c3ede00bd0ff3fb5cddff29032a0b72e9b92ff3eb224698/pytest-mypy-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "a0db47ab3c30caa858f3c4df6dd5004f", "sha256": "419d1d4877d41a6a80f0eb31faa7c50bb9445557f7ff1b02a1a26d10d7dc7691" }, "downloads": -1, "filename": "pytest_mypy-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "a0db47ab3c30caa858f3c4df6dd5004f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 4614, "upload_time": "2019-06-27T06:01:02", "url": "https://files.pythonhosted.org/packages/ad/a6/363c8823fcc31ee3e26b9ade5a7697ebdd8f5478f6c7b0516ea669d72e92/pytest_mypy-0.3.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cfa580a806d3a9f4f6711eb26880f26e", "sha256": "917438af835beb87f14c9f6261137f8e992b3bf87ebf73f836ac7ede03424a0f" }, "downloads": -1, "filename": "pytest-mypy-0.3.3.tar.gz", "has_sig": false, "md5_digest": "cfa580a806d3a9f4f6711eb26880f26e", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 253687, "upload_time": "2019-06-27T06:01:04", "url": "https://files.pythonhosted.org/packages/64/b6/ce644276f3d47f74322b412c36ed5d60136d6ffbc4511e588f9d44527ea4/pytest-mypy-0.3.3.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "bcf01739df8b2e58361d00081177a33f", "sha256": "a82b0f6243f84c9aa5ecce373891f6d4ac02ca8b689e7c34aa78cbd78f7a53e2" }, "downloads": -1, "filename": "pytest_mypy-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "bcf01739df8b2e58361d00081177a33f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 5091, "upload_time": "2019-08-24T20:57:04", "url": "https://files.pythonhosted.org/packages/4e/ec/10c1d5b42421ab2536d9d1aba50606d4b1c3ff9c9241d8bce9ae0b43ec70/pytest_mypy-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dc78db68a6b26fa67420ff3abaf3ec26", "sha256": "df6289a2af6852af2e1513198c36026feba81b19a097a4c7f35c3c642c00ebdd" }, "downloads": -1, "filename": "pytest-mypy-0.4.0.tar.gz", "has_sig": false, "md5_digest": "dc78db68a6b26fa67420ff3abaf3ec26", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 5200, "upload_time": "2019-08-24T20:57:06", "url": "https://files.pythonhosted.org/packages/f1/94/91486cae046cfbc946239d5904a1ac86547ee7e1a95e221df28e739be2a2/pytest-mypy-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "822fa21b736138e25235a6678be63a88", "sha256": "c01a2c3baeab6086412c614f1f92d3962ff92cdf13881c608d98a5c23bc79b77" }, "downloads": -1, "filename": "pytest_mypy-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "822fa21b736138e25235a6678be63a88", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 5102, "upload_time": "2019-09-19T08:22:12", "url": "https://files.pythonhosted.org/packages/63/f5/00bea7a8b617162934a4fecfd8776fbfa17343d4474a5e47318dc71a7b65/pytest_mypy-0.4.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "43876dbf125bc0b13ad9729fc6e6a256", "sha256": "f6348a3aa08d7b38b05c12ed0965415e1b60d402d7ceb353f5116f6eaf7dac28" }, "downloads": -1, "filename": "pytest-mypy-0.4.1.tar.gz", "has_sig": false, "md5_digest": "43876dbf125bc0b13ad9729fc6e6a256", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 5220, "upload_time": "2019-09-19T08:22:14", "url": "https://files.pythonhosted.org/packages/76/0b/7a1c5161323c8a95f8e27b0f98da0f42dda124a26954dd61a8f7df2c59ef/pytest-mypy-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "822fa21b736138e25235a6678be63a88", "sha256": "c01a2c3baeab6086412c614f1f92d3962ff92cdf13881c608d98a5c23bc79b77" }, "downloads": -1, "filename": "pytest_mypy-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "822fa21b736138e25235a6678be63a88", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 5102, "upload_time": "2019-09-19T08:22:12", "url": "https://files.pythonhosted.org/packages/63/f5/00bea7a8b617162934a4fecfd8776fbfa17343d4474a5e47318dc71a7b65/pytest_mypy-0.4.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "43876dbf125bc0b13ad9729fc6e6a256", "sha256": "f6348a3aa08d7b38b05c12ed0965415e1b60d402d7ceb353f5116f6eaf7dac28" }, "downloads": -1, "filename": "pytest-mypy-0.4.1.tar.gz", "has_sig": false, "md5_digest": "43876dbf125bc0b13ad9729fc6e6a256", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 5220, "upload_time": "2019-09-19T08:22:14", "url": "https://files.pythonhosted.org/packages/76/0b/7a1c5161323c8a95f8e27b0f98da0f42dda124a26954dd61a8f7df2c59ef/pytest-mypy-0.4.1.tar.gz" } ] }