Contents

pylint 3.1.0

0

python code static checker

python code static checker

Stars: 5094, Watchers: 5094, Forks: 1074, Open Issues: 937

The pylint-dev/pylint repo was created 8 years ago and the last code push was 3 hours ago.
The project is extremely popular with a mindblowing 5094 github stars!

How to Install pylint

You can install pylint using pip

pip install pylint

or add it to a project with poetry

poetry add pylint

Package Details

Author
License
GPL-2.0-or-later
Homepage
PyPi:
https://pypi.org/project/pylint/
GitHub Repo:
https://github.com/PyCQA/pylint

Classifiers

  • Software Development/Debuggers
  • Software Development/Quality Assurance
  • Software Development/Testing
No  pylint  pypi packages just yet.

Errors

A list of common pylint errors.

Code Examples

Here are some pylint code examples and snippets.

GitHub Issues

The pylint package has 937 open issues on GitHub

  • False-negative: missing 'no-member' in case of private member function invoke without mangling
  • bad-open-mode produces illegible message when passing mode=None
  • Pylint needs to forbid to re-use the msgid or symbol of old deleted msgid/symbol
  • A single changelog file instead of two
  • Fix #5399: Fix false negatives for further variable messages for invalid type annotations or default arguments
  • Add regression test for #5679
  • 'missing-final-newline' is surprisingly slow on a large codebase
  • Message id 'W1601' cannot have both 'apply-builtin' and 'using-f-string-in-unsupported-version' as symbolic name.
  • assign list.sort() instead of sorted(list)
  • Add a regression test for issue #3979 and fix it
  • enum.Enum type is blindly assigned to "Enum" of other modules
  • Crash 'AssignAttr' object has no attribute 'qname'
  • False positive: abstract-class-instantiated when base class is not abstract
  • numpy.ma.masked_invalid() return object triggers no-member for mask attribute
  • Weak or improper support for overloads

See more issues on GitHub

Related Packages & Articles

flake8 7.0.0

the modular source code checker: pep8 pyflakes and co

flake8-bugbear 24.2.6

A plugin for flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.

bandit 1.7.8

Security oriented static analyser for python code.

astroid 3.1.0

An abstract syntax tree for Python with inference support.