{ "info": { "author": "Florian Schulze, Holger Krekel and Ronny Pfannschmidt", "author_email": "florian.schulze@gmx.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Testing" ], "description": "pytest-flakes\n=============\n\npy.test plugin for efficiently checking python source with pyflakes.\n\n\nUsage\n-----\n\ninstall via::\n\n pip install pytest-flakes\n\nif you then type::\n\n py.test --flakes\n\nevery file ending in ``.py`` will be discovered and run through pyflakes,\nstarting from the command line arguments.\n\nSimple usage example\n-----------------------------\n\nConsider you have this code::\n\n # content of module.py\n\n import os\n from os.path import *\n\n def some_function():\n pass\n\nRunning it with pytest-flakes installed shows two issues::\n\n $ py.test -q --flakes \n F\n ================================= FAILURES =================================\n ______________________________ pyflakes-check ______________________________\n /tmp/doc-exec-685/module.py:2: UnusedImport\n 'os' imported but unused\n /tmp/doc-exec-685/module.py:3: ImportStarUsed\n 'from os.path import *' used; unable to detect undefined names\n 1 failed in 0.00 seconds\n\nThese are only two of the many issues that pytest-flakes can find.\n\nConfiguring pyflakes options per project and file\n-------------------------------------------------\n\nYou may configure pyflakes-checking options for your project\nby adding an ``flakes-ignore`` entry to your ``setup.cfg``\nor ``setup.cfg`` file like this::\n\n # content of setup.cfg\n [pytest]\n flakes-ignore = ImportStarUsed\n\nThis would globally prevent complaints about star imports.\nRerunning with the above example will now look better::\n\n $ py.test -q --flakes\n F\n ================================= FAILURES =================================\n _________________ pyflakes-check(ignoring ImportStarUsed) __________________\n /tmp/doc-exec-685/module.py:2: UnusedImport\n 'os' imported but unused\n 1 failed in 0.00 seconds\n\nBut of course we still would want to delete the ``import os`` line to\nhave a clean pass. \n\nIf you have some files where you want to specifically ignore\nsome errors or warnings you can start a flakes-ignore line with \na glob-pattern and a space-separated list of codes::\n\n # content of setup.cfg\n [pytest]\n flakes-ignore =\n *.py UnusedImport\n doc/conf.py ALL\n\n \nIgnoring certain lines in files\n-------------------------------\n\nYou can ignore errors per line by appending special comments to them like this::\n\n import sys # noqa\n app # pragma: no flakes\n\n\nRunning pyflakes checks and no other tests\n------------------------------------------\n\nYou can restrict your test run to only perform \"flakes\" tests\nand not any other tests by typing::\n\n py.test --flakes -m flakes\n\nThis will only run tests that are marked with the \"flakes\" keyword\nwhich is added for the flakes test items added by this plugin.\n\nIf you are using pytest < 2.4, then use the following invocation\nto the same effect::\n\n py.test --flakes -k flakes\n\n\nNotes\n-----\n\nThe repository of this plugin is at https://github.com/fschulze/pytest-flakes\n\nFor more info on py.test see http://pytest.org\n\nThe code is partially based on Ronny Pfannschmidt's pytest-codecheckers plugin\nand Holger Krekel's pytest-pep8.\n\n\nChanges\n=======\n\n4.0.0 - 2018-08-01\n------------------\n\n- Require pytest >= 2.8.0 and remove pytest-cache requirement.\n Cache is included in pytest since that version.\n [smarlowucf]\n\n\n3.0.2 - 2018-05-16\n------------------\n\n- Fix typo in name of ``flakes`` marker.\n [fschulze]\n\n\n3.0.1 - 2018-05-16\n------------------\n\n- Always register ``flakes`` marker, not only when the ``--flakes`` option\n is used.\n [fschulze]\n\n\n3.0.0 - 2018-05-16\n------------------\n\n- Drop support for Python 3.3. It still works so far, but isn't tested anymore.\n [fschulze]\n\n- Add ``flakes`` marker required since pytest 3.1.\n [fschulze]\n\n- Use pyflakes.api.isPythonFile to detect Python files. This might test more\n files than before and thus could cause previously uncaught failures.\n [asmeurer (Aaron Meurer)]\n\n\n2.0.0 - 2017-05-12\n------------------\n\n- Dropped support/testing for Python 2.5, 2.6, 3.2.\n [fschulze]\n\n- Added testing for Python 3.6.\n [fschulze]\n\n- Fixed some packaging and metadata errors.\n [fladi (Michael Fladischer), fschulze]\n\n\n1.0.1 - 2015-09-17\n------------------\n\n- Compatibility with upcoming pytest.\n [RonnyPfannschmidt (Ronny Pfannschmidt)]\n\n\n1.0.0 - 2015-05-01\n------------------\n\n- Fix issue #6 - support PEP263 for source file encoding.\n [The-Compiler (Florian Bruhin), fschulze]\n\n- Clarified license to be MIT like pytest-pep8 from which this is derived.\n [fschulze]\n\n\n0.2 - 2013-02-11\n----------------\n\n- Adapt to pytest-2.4.2 using ``add_marker()`` API.\n [fschulze, hpk42 (Holger Krekel)]\n\n- Allow errors to be skipped per line by appending # noqa or # pragma: no flakes\n [fschulze, silviot (Silvio Tomatis)]\n\n- Python 3.x compatibility.\n [fschulze, encukou (Petr Viktorin)]\n\n\n0.1 - 2013-02-04\n----------------\n\n- Initial release.\n [fschulze (Florian Schulze)]\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fschulze/pytest-flakes", "keywords": "", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "pytest-flakes", "package_url": "https://pypi.org/project/pytest-flakes/", "platform": "", "project_url": "https://pypi.org/project/pytest-flakes/", "project_urls": { "Homepage": "https://github.com/fschulze/pytest-flakes" }, "release_url": "https://pypi.org/project/pytest-flakes/4.0.0/", "requires_dist": null, "requires_python": "", "summary": "pytest plugin to check source code with pyflakes", "version": "4.0.0" }, "last_serial": 4123141, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d9b19fad871c9a368974eceb91c91440", "sha256": "973dd4638f0cdf17bc8c536eb6832d64317b2ced7140c21f642c3a9549bcc6d5" }, "downloads": -1, "filename": "pytest-flakes-0.1.zip", "has_sig": false, "md5_digest": "d9b19fad871c9a368974eceb91c91440", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6864, "upload_time": "2013-02-04T19:56:19", "url": "https://files.pythonhosted.org/packages/c8/f0/d5b55f10af39c76f7b0189e9740a758742313bf0309b1a365ec598043c08/pytest-flakes-0.1.zip" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "44b8f9746fcd827de5c02f14b01728c1", "sha256": "9194712d8d0d01b871f68d33fa1e26ff717bb4a6f2b42891ac5d2baca6609558" }, "downloads": -1, "filename": "pytest-flakes-0.2.zip", "has_sig": false, "md5_digest": "44b8f9746fcd827de5c02f14b01728c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8858, "upload_time": "2013-10-11T20:12:42", "url": "https://files.pythonhosted.org/packages/14/75/9105631813cf71cb76a9dd4adcf446a65df2bded73fe9535ea6a84bd2602/pytest-flakes-0.2.zip" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "2b4d70d2b2b8becf8c482c91d883996f", "sha256": "d0cc66d0108c0104e1b07e5bed9edf4250b902f6236b1cf0179b4ca35ebe6e6f" }, "downloads": -1, "filename": "pytest-flakes-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2b4d70d2b2b8becf8c482c91d883996f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5990, "upload_time": "2015-06-01T06:34:26", "url": "https://files.pythonhosted.org/packages/64/9a/c0a7670fb1f97cfa913ccc852a305d13913e54edbaf092531bd16a348fef/pytest-flakes-1.0.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "bc44286a50edb4f4869e83c78543b651", "sha256": "7341599cfb88d604c357d16b80c7dd8d2cb450eecceb298ac47bd2e244985e43" }, "downloads": -1, "filename": "pytest-flakes-1.0.0.zip", "has_sig": false, "md5_digest": "bc44286a50edb4f4869e83c78543b651", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11093, "upload_time": "2015-06-01T06:34:22", "url": "https://files.pythonhosted.org/packages/89/04/40b73a282b17eac3daad276761b75bb4854c693941f9be89f3dde25f10b8/pytest-flakes-1.0.0.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "5f30b57e4b047450b078d0f1a4bbd9fa", "sha256": "9c2271654294020e134624020a2144cb93b7334809d70fb3f470cd31ec788a3a" }, "downloads": -1, "filename": "pytest-flakes-1.0.1.tar.gz", "has_sig": false, "md5_digest": "5f30b57e4b047450b078d0f1a4bbd9fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6107, "upload_time": "2015-09-17T16:59:29", "url": "https://files.pythonhosted.org/packages/73/2d/61b0b7159b477def3ebb95b05e2ec4240b070bbda9725efe88b3e040269a/pytest-flakes-1.0.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "ceb20adcf603e5f210ec0549c47b2bc2", "sha256": "12272f47963cf01c23269c46c6716051a480e4631e7184ba2f3ec5b34af7c52e" }, "downloads": -1, "filename": "pytest-flakes-1.0.1.zip", "has_sig": false, "md5_digest": "ceb20adcf603e5f210ec0549c47b2bc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11261, "upload_time": "2015-09-17T16:59:22", "url": "https://files.pythonhosted.org/packages/ef/87/a18602e110fdf91e07128fa5b1c774fa8b5fba2d62b89e203cf007eae0fb/pytest-flakes-1.0.1.zip" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "86b05769641aa69b6a641cc503526ef7", "sha256": "b39afa41ca2d20dc23f487f046c0a7eab26525bca503c999586c07c742835ba8" }, "downloads": -1, "filename": "pytest_flakes-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "86b05769641aa69b6a641cc503526ef7", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7886, "upload_time": "2017-05-12T13:25:35", "url": "https://files.pythonhosted.org/packages/fd/13/fa0b0282c06734e506d8e0216392b34d0e7fe6686bfc2d1d2ff93a182a61/pytest_flakes-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8b4d137ddaebe1b19239fec8c142e0ef", "sha256": "3e880927fd2a77d31715eaab3876196e76d779726c9c24fe32ee5bab23281f82" }, "downloads": -1, "filename": "pytest-flakes-2.0.0.tar.gz", "has_sig": false, "md5_digest": "8b4d137ddaebe1b19239fec8c142e0ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6520, "upload_time": "2017-05-12T13:25:34", "url": "https://files.pythonhosted.org/packages/4f/02/0450e82e3d1a8e973fd695fff99122491a977c06357e32006ac9e281a5a2/pytest-flakes-2.0.0.tar.gz" } ], "3.0.0": [ { "comment_text": "", "digests": { "md5": "bdbb32d90dadec2b502419d0902566c7", "sha256": "f1e2c037da0251f85398b2b006f524e70ae0811c2386738c987d7030aee3d910" }, "downloads": -1, "filename": "pytest_flakes-3.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bdbb32d90dadec2b502419d0902566c7", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5437, "upload_time": "2018-05-16T09:05:57", "url": "https://files.pythonhosted.org/packages/92/41/8daf2bd07723a62c5dec658c5251f605945c0690c72710ed3d02a3ac07a4/pytest_flakes-3.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4072d562172f7666a90611d46299f246", "sha256": "849aabb5c015b73f20c0977080c2f9f88006cc6c3c486d3b127c79c6896ccbe7" }, "downloads": -1, "filename": "pytest-flakes-3.0.0.tar.gz", "has_sig": false, "md5_digest": "4072d562172f7666a90611d46299f246", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7006, "upload_time": "2018-05-16T09:05:55", "url": "https://files.pythonhosted.org/packages/90/28/d2cdaf6fecb8d64ce3f116772ab37bf8e735ec179af4e929f49b240b9f04/pytest-flakes-3.0.0.tar.gz" } ], "3.0.1": [ { "comment_text": "", "digests": { "md5": "b1014f17b9bb24d7b340cfb6b8274873", "sha256": "44edbdef2c2d1eadcfa864ca76949df52b04b93cdc89aead838b78e8203c6820" }, "downloads": -1, "filename": "pytest_flakes-3.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b1014f17b9bb24d7b340cfb6b8274873", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5478, "upload_time": "2018-05-16T09:11:24", "url": "https://files.pythonhosted.org/packages/9d/20/1c273e4ab8707472df5268d6ff3b2d6c79114a2a1ed89a2aaf720a9f912d/pytest_flakes-3.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5bd1894bc902140cbbc8f498dbba8ac0", "sha256": "6cb7c7f467ddd6c7ff2d6693a3c15afdc70d744e20add934566b4247bc46ed96" }, "downloads": -1, "filename": "pytest-flakes-3.0.1.tar.gz", "has_sig": false, "md5_digest": "5bd1894bc902140cbbc8f498dbba8ac0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7061, "upload_time": "2018-05-16T09:11:23", "url": "https://files.pythonhosted.org/packages/83/e3/f19ec8f03e1f01b6f83f6bfbfbd3d32012e43f0b44da5c265a4344613547/pytest-flakes-3.0.1.tar.gz" } ], "3.0.2": [ { "comment_text": "", "digests": { "md5": "2725c631aaefa9d0490eb7273b2ff9af", "sha256": "62511b188227c6cbd663327cbd37afc05b41ab80de6ec6556193e7bed31e13a8" }, "downloads": -1, "filename": "pytest_flakes-3.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2725c631aaefa9d0490eb7273b2ff9af", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5495, "upload_time": "2018-05-16T09:23:07", "url": "https://files.pythonhosted.org/packages/eb/bf/6deefc183c47c5e49e11b119245c64cce24694717d5f5cead9052a849574/pytest_flakes-3.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d50c6bf9330bb3f54a6f2794c3cebab4", "sha256": "763ec290b89e2dc8f25f49d71cb9b869b8df843697b730233f61c78f847f2e57" }, "downloads": -1, "filename": "pytest-flakes-3.0.2.tar.gz", "has_sig": false, "md5_digest": "d50c6bf9330bb3f54a6f2794c3cebab4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7086, "upload_time": "2018-05-16T09:23:05", "url": "https://files.pythonhosted.org/packages/7c/d0/78bb26124f6de980206e941205cc11011a8bd4606c7294a259549af827e2/pytest-flakes-3.0.2.tar.gz" } ], "4.0.0": [ { "comment_text": "", "digests": { "md5": "10977809f0b36c6e127424e108ee9000", "sha256": "daaf319250eeefa8cb13b0ba78ffdda67926c4b6446a9e14f946b86d1ba6af23" }, "downloads": -1, "filename": "pytest_flakes-4.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "10977809f0b36c6e127424e108ee9000", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5549, "upload_time": "2018-08-01T04:32:05", "url": "https://files.pythonhosted.org/packages/d2/89/69c0b396fed5a48daa88d70225742163cc6e3b48aeb41c5d3cc3d46275b5/pytest_flakes-4.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "86fabd455ab325cbbf4e5f6b194eb441", "sha256": "341964bf5760ebbdde9619f68a17d5632c674c3f6903ef66daa0a4f540b3d143" }, "downloads": -1, "filename": "pytest-flakes-4.0.0.tar.gz", "has_sig": false, "md5_digest": "86fabd455ab325cbbf4e5f6b194eb441", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7138, "upload_time": "2018-08-01T04:32:04", "url": "https://files.pythonhosted.org/packages/e0/ba/c2615a68dcde242f313c95d39b70d54315891dcd442687c9a56e82312b9b/pytest-flakes-4.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "10977809f0b36c6e127424e108ee9000", "sha256": "daaf319250eeefa8cb13b0ba78ffdda67926c4b6446a9e14f946b86d1ba6af23" }, "downloads": -1, "filename": "pytest_flakes-4.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "10977809f0b36c6e127424e108ee9000", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5549, "upload_time": "2018-08-01T04:32:05", "url": "https://files.pythonhosted.org/packages/d2/89/69c0b396fed5a48daa88d70225742163cc6e3b48aeb41c5d3cc3d46275b5/pytest_flakes-4.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "86fabd455ab325cbbf4e5f6b194eb441", "sha256": "341964bf5760ebbdde9619f68a17d5632c674c3f6903ef66daa0a4f540b3d143" }, "downloads": -1, "filename": "pytest-flakes-4.0.0.tar.gz", "has_sig": false, "md5_digest": "86fabd455ab325cbbf4e5f6b194eb441", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7138, "upload_time": "2018-08-01T04:32:04", "url": "https://files.pythonhosted.org/packages/e0/ba/c2615a68dcde242f313c95d39b70d54315891dcd442687c9a56e82312b9b/pytest-flakes-4.0.0.tar.gz" } ] }