Skip to main content


plerr

A list of pylint-errors with reasoning and examples of erroneous and correct code.

Example

Table of contents

CLI usage

It's not required to install CLI util as long as you can navigate list of errors here or on this web-site but you may want to do so.

Stable release

You can install a stable release simply by such commands:

$ python3 -m pip install plerr
$ plerr r1710

For pipx:

$ python3 -m pip install pipx # if not yet installed pipx
$ python3 -m pipx ensurepath # ensure directory where pipx stores apps is on PATH
$ pipx install plerr
$ plerr r1710

Dev builds

In order to use development plerr builds you need to invoke the following commands:

$ git clone https://github.com/sprytnyk/pylint-errors.git
$ sudo apt update && sudo apt install -y python3-pip # if not yet installed
$ cd pylint-errors
$ python3 setup.py test
$ python3 setup.py install --user
$ python3 -m plerr r1710

pipx users may install the library by such commands:

$ git clone https://github.com/sprytnyk/pylint-errors.git
$ sudo apt install -y make python3-pip python3-venv # if not yet installed
$ cd pylint-errors
$ python3 -m pip install pipx wheel # install a package to build a wheel and pipx
$ python3 -m pipx ensurepath # ensure directory where pipx stores apps is on PATH
$ python3 setup.py test # run tests
$ make clean
$ python3 setup.py bdist_wheel # build a binary wheel
$ pipx install dist/* # install a binary wheel by pipx
$ plerr r1710

In order to get the latest updates just git pull origin master and invoke a command in the root of the project (sudo apt install make if not yet installed) make rai to install to Python 3 user space site packages or make raip for pipx.

List of errors

Error codes with [+] mean they've got examples of bad and good code. Rationalisation provided for all entries.

Async Checker Messages

Basic Checker Messages

Broad Try Clause Checker Messages

Classes Checker Messages

Compare-To-Empty-String Checker Messages

Compare-To-Zero Checker Messages

Deprecated Builtins Checker Messages

Design Checker Messages

Docstyle Checker Messages

Else If Used Checker Messages

Exceptions Checker Messages

Format Checker Messages

Imports Checker Messages

Logging Checker Messages

Miscellaneous Checker Messages

Multiple Types Checker Messages

Newstyle Checker Messages

Overlap-Except Checker Messages

Parameter Documentation Checker Messages

Refactoring Checker Messages

Similarities Checker Messages

Spelling Checker Messages

Stdlib Checker Messages

String Checker Messages

Typecheck Checker Messages

Variables Checker Messages

Release files for plerr 4.0.3

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

Source distribution (sdist)

Source distribution for plerr 4.0.3
File Size Uploaded
plerr-4.0.3.tar.gz 62.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plerr 4.0.3
File Interpreter ABI Platform
plerr-4.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 215.5 kB

Release files / plerr-4.0.3.tar.gz

Download URL plerr-4.0.3.tar.gz
Size 62.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9bedd86a530f6b67eeccdcb514434da4aa781f441bc560550a2327a26044e15c
BLAKE2b-256 checksum
How to use checksums
3f697d8a2feb3b2fd5342224a6bd598d47a6e045b459a0f59828945ae4219abc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release files / plerr-4.0.3-py3-none-any.whl

Download URL plerr-4.0.3-py3-none-any.whl
Size 152.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41699531f2d25b3a54e9bc22b2923e57b1a4f89b1acee77b4bed5e21c1fa8dd3
BLAKE2b-256 checksum
How to use checksums
d902f85849ba9fd60ce3cf1857c3c23a6a252ae0fc0562768e88f66d0b45bcc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

4.0.3 This release

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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