Misplaced Pages

Pylint

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Python static code analysis tool
Pylint
Developer(s)Sylvain Thénault (Logilab S.A.)
Initial release2001; 23 years ago (2001)
Stable release3.3.1 Edit this on Wikidata / 24 September 2024
Repository
Written inPython
LicenseGeneral Public License
Websitepylint.pycqa.org

Pylint is a static code analysis tool for the Python programming language. It is named following a common convention in Python of a "py" prefix, and a nod to the C programming lint program. It follows the style recommended by PEP 8, the Python style guide. It is similar to Pychecker and Pyflakes, but includes the following features:

  • Checking the length of each line
  • Checking that variable names are well-formed according to the project's coding standard
  • Checking that declared interfaces are truly implemented.

It is also equipped with the Pyreverse module that allows UML diagrams to be generated from Python code.

It can be used as a stand-alone program, but also integrates with IDEs such as Eclipse with PyDev, Spyder and Visual Studio Code, and editors such as Atom, GNU Emacs and Vim.

References

  1. "Pylint User Manual – Pylint 2.0.0 documentation". Docs.pylint.org. Retrieved 2016-11-16.
  2. Tobias Macey (2015-12-12). "Episode 35 – Sylvain Thénault on ASTroid". pythonpodcast.com. Retrieved 2016-11-17.
  3. "Release 3.3.1". 24 September 2024. Retrieved 26 September 2024.
  4. "PEP 8 – Style Guide for Python Code". Python.org. Retrieved 2016-11-16.
  5. "pylint (analyzes Python source code looking for bugs and signs of poor quality)". Logilab.org. 2006-09-26. Retrieved 2016-11-16.
  6. "PyLint". Pydev.org. 2016-10-31. Retrieved 2016-11-16.
  7. "Python for VSCode – Visual Studio Marketplace". Marketplace.visualstudio.com. Retrieved 2016-11-16.
  8. "linter-pylint". Retrieved 2016-11-17.

External links

Stub icon

This free and open-source software article is a stub. You can help Misplaced Pages by expanding it.

Stub icon

This programming-tool-related article is a stub. You can help Misplaced Pages by expanding it.

Categories: