pylint-unittest


Namepylint-unittest JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/federicobond/pylint-unittest
SummaryA Pylint plugin for detecting incorrect use of unittest assertions
upload_time2023-10-31 23:19:00
maintainer
docs_urlNone
authorFederico Bond
requires_python
licenseGPLv3
keywords pylint unittest plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            pylint-unittest
===============

.. image:: https://travis-ci.org/federicobond/pylint-unittest.svg?branch=master
    :alt: Build Status
    :target: https://travis-ci.org/federicobond/pylint-unittest

.. image:: https://img.shields.io/pypi/v/pylint-unittest.svg
    :alt: Latest Version
    :target: https://pypi.python.org/pypi/pylint-unittest

About
-----

``pylint-unittest`` is a `Pylint <http://pylint.org>`__ plugin for
detecting incorrect use of unittest assertions.

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

::

   pip install pylint-unittest

Usage
-----

Ensure ``pylint-unittest`` is installed and then execute:

::

   pylint --load-plugins pylint_unittest [..other options..] <path_to_your_sources>

Alternatively, add ``load_plugins=pylint_unittest`` to your ``pylintrc``
file, under the MASTER section.

Rules
-----

wrong-assertion
~~~~~~~~~~~~~~~

This rule will complain if you use assertEqual with True, False or None
as arguments instead of the respective ``assertTrue``, ``assertFalse``,
``assertIsNone``.

deprecated-unittest-alias
~~~~~~~~~~~~~~~~~~~~~~~~~

This rule will complain if you use a deprecated unittest alias. See
`here <https://docs.python.org/2/library/unittest.html#deprecated-aliases>`__
for more information.

License
-------

GPL-3.0

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/federicobond/pylint-unittest",
    "name": "pylint-unittest",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "pylint,unittest,plugin",
    "author": "Federico Bond",
    "author_email": "federicobond@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/88/bd/cdf67ebd4c0cbbdbffa5952eca87d7989f34f32dadc00000f1e7a52f60c6/pylint-unittest-0.2.0.tar.gz",
    "platform": null,
    "description": "pylint-unittest\n===============\n\n.. image:: https://travis-ci.org/federicobond/pylint-unittest.svg?branch=master\n    :alt: Build Status\n    :target: https://travis-ci.org/federicobond/pylint-unittest\n\n.. image:: https://img.shields.io/pypi/v/pylint-unittest.svg\n    :alt: Latest Version\n    :target: https://pypi.python.org/pypi/pylint-unittest\n\nAbout\n-----\n\n``pylint-unittest`` is a `Pylint <http://pylint.org>`__ plugin for\ndetecting incorrect use of unittest assertions.\n\nInstallation\n------------\n\n::\n\n   pip install pylint-unittest\n\nUsage\n-----\n\nEnsure ``pylint-unittest`` is installed and then execute:\n\n::\n\n   pylint --load-plugins pylint_unittest [..other options..] <path_to_your_sources>\n\nAlternatively, add ``load_plugins=pylint_unittest`` to your ``pylintrc``\nfile, under the MASTER section.\n\nRules\n-----\n\nwrong-assertion\n~~~~~~~~~~~~~~~\n\nThis rule will complain if you use assertEqual with True, False or None\nas arguments instead of the respective ``assertTrue``, ``assertFalse``,\n``assertIsNone``.\n\ndeprecated-unittest-alias\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThis rule will complain if you use a deprecated unittest alias. See\n`here <https://docs.python.org/2/library/unittest.html#deprecated-aliases>`__\nfor more information.\n\nLicense\n-------\n\nGPL-3.0\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "A Pylint plugin for detecting incorrect use of unittest assertions",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/federicobond/pylint-unittest"
    },
    "split_keywords": [
        "pylint",
        "unittest",
        "plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9e7be2102a25cc7071a307628125d9ba8d3c76ab31b1504207faa5861de8e411",
                "md5": "cacb3b0ba96027db17b52674440fc755",
                "sha256": "fbd2a746b451ad134eb8c17b7059736a31267d909e4b1164ed5ee73c8d7a22bf"
            },
            "downloads": -1,
            "filename": "pylint_unittest-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cacb3b0ba96027db17b52674440fc755",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 17358,
            "upload_time": "2023-10-31T23:18:54",
            "upload_time_iso_8601": "2023-10-31T23:18:54.588443Z",
            "url": "https://files.pythonhosted.org/packages/9e/7b/e2102a25cc7071a307628125d9ba8d3c76ab31b1504207faa5861de8e411/pylint_unittest-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "88bdcdf67ebd4c0cbbdbffa5952eca87d7989f34f32dadc00000f1e7a52f60c6",
                "md5": "d3a76c682f5d2f8847b596ea8556edb7",
                "sha256": "3acbc0c028d49f5cb0b2133b4c170420bc5980a21f61a364161fbba1b950f6f2"
            },
            "downloads": -1,
            "filename": "pylint-unittest-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d3a76c682f5d2f8847b596ea8556edb7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 16350,
            "upload_time": "2023-10-31T23:19:00",
            "upload_time_iso_8601": "2023-10-31T23:19:00.675071Z",
            "url": "https://files.pythonhosted.org/packages/88/bd/cdf67ebd4c0cbbdbffa5952eca87d7989f34f32dadc00000f1e7a52f60c6/pylint-unittest-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-31 23:19:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "federicobond",
    "github_project": "pylint-unittest",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pylint-unittest"
}
        
Elapsed time: 0.12845s