Skip to main content

PyPI - License CI Status Testing Coverage PyPI - Python Version PyPI PyPI - Wheel

pylint-errors

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

Table of contents

CLI usage

Example

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/vald-phoenix/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/vald-phoenix/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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plerr-1.0.5.tar.gz (62.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plerr-1.0.5-py3-none-any.whl (152.1 kB view details)

Uploaded Python 3

File details

Details for the file plerr-1.0.5.tar.gz.

File metadata

  • Download URL: plerr-1.0.5.tar.gz
  • Upload date:
  • Size: 62.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for plerr-1.0.5.tar.gz
Algorithm Hash digest
SHA256 7a8ac10c1dae6ac1bc14fb956b56c3ad3a6969f7ebfd3e350a860d0165eddf59
MD5 cd74d873689563e310720e4b7522ce30
BLAKE2b-256 7c45d47d800182c41b6aba409fc6ef6dde60200d559f698a87bfe096c8dced55

See more details on using hashes here.

File details

Details for the file plerr-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: plerr-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 152.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for plerr-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f8ab771a0b0b3a2dfdaac48d41e35f6a6d469c8fd01c2621ff45b59c5f2e8a98
MD5 59ce7b38984c1a29265dcef87d966729
BLAKE2b-256 df02c3c15364b40dc6c8eaa48ac2fbd19bbda4607ae6a721d068153c6c9126d0

See more details on using hashes here.

Release history Release notifications | RSS feed

4.0.3

2 files

4.0.1

2 files

4.0.0

2 files

3.0.0

2 files

2.1.0

2 files

2.0.0

2 files

1.0.6

2 files

This release

1.0.5 This release

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 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