Skip to main content

pylint-unittest

Build Status Latest Version

About

pylint-unittest is a Pylint 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 for more information.

License

GPL-3.0

Metadata

Release files for pylint-unittest 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylint-unittest 0.2.0
File Size Uploaded Provenance Actions
pylint-unittest-0.2.0.tar.gz 16.4 kB Without provenance Details for pylint-unittest-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pylint-unittest 0.2.0
File Interpreter ABI Platform Actions
pylint_unittest-0.2.0-py3-none-any.whl Python 3 none any Details for pylint_unittest-0.2.0-py3-none-any.whl

Total release size: 33.7 kB

Release files / pylint-unittest-0.2.0.tar.gz

Download URL pylint-unittest-0.2.0.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3acbc0c028d49f5cb0b2133b4c170420bc5980a21f61a364161fbba1b950f6f2
BLAKE2b-256 checksum
How to use checksums
88bdcdf67ebd4c0cbbdbffa5952eca87d7989f34f32dadc00000f1e7a52f60c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / pylint_unittest-0.2.0-py3-none-any.whl

Download URL pylint_unittest-0.2.0-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fbd2a746b451ad134eb8c17b7059736a31267d909e4b1164ed5ee73c8d7a22bf
BLAKE2b-256 checksum
How to use checksums
9e7be2102a25cc7071a307628125d9ba8d3c76ab31b1504207faa5861de8e411
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Security for pylint-unittest 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page