pylint
{{Short description|Python static code analysis tool}}
{{Infobox software
| name = Pylint
| logo = Pylint Logo 2018.svg
| screenshot =
| caption =
| developer = Sylvain Thénault (Logilab S.A.){{cite web|url=http://docs.pylint.org/faq.html#who-wrote-pylint |title=Pylint User Manual – Pylint 2.0.0 documentation |website=Docs.pylint.org |date= |accessdate=2016-11-16}}{{cite web|url=http://pythonpodcast.com/sylvain-thenault-astroid.html|title=Episode 35 – Sylvain Thénault on ASTroid |author=Tobias Macey|website=pythonpodcast.com|date=2015-12-12 |accessdate=2016-11-17}}
| released = {{Start date and age|2001}}
| latest release version = {{wikidata|property|preferred|references|edit|P348}}
| latest release date = {{wikidata|qualifier|preferred|single|P348|P577}}
| latest preview version =
| latest preview date =
| size =
| genre =
| programming language = Python
| license = General Public License
| website = {{URL|https://pylint.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.{{cite web |url=https://www.python.org/dev/peps/pep-0008/ |title=PEP 8 – Style Guide for Python Code |website=Python.org |date= |accessdate=2016-11-16}} 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.{{cite web |url=http://www.logilab.org/project/pylint |title=pylint (analyzes Python source code looking for bugs and signs of poor quality) |website=Logilab.org |date=2006-09-26 |accessdate=2016-11-16}}
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,{{cite web |url=http://www.pydev.org/manual_adv_pylint.html |title=PyLint |website=Pydev.org |date=2016-10-31 |accessdate=2016-11-16}} Spyder and Visual Studio Code,{{cite web |url=https://marketplace.visualstudio.com/items?itemName=tht13.python |title=Python for VSCode – Visual Studio Marketplace |website=Marketplace.visualstudio.com |date= |accessdate=2016-11-16}} and editors such as Atom,{{cite web|url=https://atom.io/packages/linter-pylint|title=linter-pylint|accessdate=2016-11-17}} GNU Emacs and Vim.
References
{{Reflist}}
External links
- {{Official website|https://pylint.pycqa.org}}
- {{GitHub|pycqa/pylint}}
Category:Free software programmed in Python
Category:Python (programming language) development tools
Category:Static program analysis tools
Category:Software using the GNU General Public License
{{Free-software-stub}}
{{Programming-software-stub}}