flake8-pytest


Nameflake8-pytest JSON
Version 1.4 PyPI version JSON
download
home_pagehttps://github.com/vikingco/flake8-pytest
Summarypytest assert checker plugin for flake8
upload_time2022-08-08 13:47:21
maintainer
docs_urlNone
authorVikingCo NV
requires_python
licenseMIT
keywords flake8 pytest
VCS
bugtrack_url
requirements flake8
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Flake8 pytest plugin
====================

Check for uses of Django-style assert-statements in tests. So no more ``self.assertEqual(a, b)``,
but instead ``assert a == b``.

This module provides a plugin for ``flake8``, the Python code checker.


Installation
------------

You can install or upgrade ``flake8-pytest`` with these commands::

  $ pip install flake8-pytest
  $ pip install --upgrade flake8-pytest


Plugin for Flake8
-----------------

When both ``flake8`` and ``flake8-pytest`` are installed, the plugin is
available in ``flake8``::

    $ flake8 --version
    2.0 (pep8: 1.4.5, flake8-pytest: 1.1, pyflakes: 0.6.1)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/vikingco/flake8-pytest",
    "name": "flake8-pytest",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "flake8 pytest",
    "author": "VikingCo NV",
    "author_email": "technology@vikingco.com",
    "download_url": "https://files.pythonhosted.org/packages/b9/aa/dfb17bc4660b4ef199c1cd9211a77456ee6d93b8bf79e6b8c46108435147/flake8-pytest-1.4.tar.gz",
    "platform": null,
    "description": "Flake8 pytest plugin\n====================\n\nCheck for uses of Django-style assert-statements in tests. So no more ``self.assertEqual(a, b)``,\nbut instead ``assert a == b``.\n\nThis module provides a plugin for ``flake8``, the Python code checker.\n\n\nInstallation\n------------\n\nYou can install or upgrade ``flake8-pytest`` with these commands::\n\n  $ pip install flake8-pytest\n  $ pip install --upgrade flake8-pytest\n\n\nPlugin for Flake8\n-----------------\n\nWhen both ``flake8`` and ``flake8-pytest`` are installed, the plugin is\navailable in ``flake8``::\n\n    $ flake8 --version\n    2.0 (pep8: 1.4.5, flake8-pytest: 1.1, pyflakes: 0.6.1)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "pytest assert checker plugin for flake8",
    "version": "1.4",
    "project_urls": {
        "Homepage": "https://github.com/vikingco/flake8-pytest"
    },
    "split_keywords": [
        "flake8",
        "pytest"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "79ca1baaca42e1ff50bc0758277e4e58452d3fd5f193418070830df90a07a10e",
                "md5": "d2b679258657a9c6e450c32176676f81",
                "sha256": "97328f258ffad9fe18babb3b0714a16b121505ad3ac87d4e33020874555d0784"
            },
            "downloads": -1,
            "filename": "flake8_pytest-1.4-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d2b679258657a9c6e450c32176676f81",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 3702,
            "upload_time": "2022-08-08T13:47:19",
            "upload_time_iso_8601": "2022-08-08T13:47:19.321895Z",
            "url": "https://files.pythonhosted.org/packages/79/ca/1baaca42e1ff50bc0758277e4e58452d3fd5f193418070830df90a07a10e/flake8_pytest-1.4-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b9aadfb17bc4660b4ef199c1cd9211a77456ee6d93b8bf79e6b8c46108435147",
                "md5": "9fb4a08f0643595c700b881d8b7587fe",
                "sha256": "19f543b2d1cc89d61b76f19d0a9e58e9a110a035175f701b3425c363a7732c56"
            },
            "downloads": -1,
            "filename": "flake8-pytest-1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "9fb4a08f0643595c700b881d8b7587fe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3434,
            "upload_time": "2022-08-08T13:47:21",
            "upload_time_iso_8601": "2022-08-08T13:47:21.129970Z",
            "url": "https://files.pythonhosted.org/packages/b9/aa/dfb17bc4660b4ef199c1cd9211a77456ee6d93b8bf79e6b8c46108435147/flake8-pytest-1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-08-08 13:47:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "vikingco",
    "github_project": "flake8-pytest",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "flake8",
            "specs": []
        }
    ],
    "lcname": "flake8-pytest"
}
        
Elapsed time: 0.34704s