Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
14 of 594 committers (2.4%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.1%) to scientific vocabulary
Keywords
closember
code-quality
hacktoberfest
linter
pep8
static-analysis
static-code-analysis
Keywords from Contributors
gofmt
pre-commit-hook
formatter
yapf
codeformatter
autopep8
wx
parsing
tk
qt
Last synced: 4 months ago
·
JSON representation
·
Repository
It's not just a linter that annoys you!
Basic Info
- Host: GitHub
- Owner: pylint-dev
- License: gpl-2.0
- Language: Python
- Default Branch: main
- Homepage: https://pylint.readthedocs.io/en/latest/
- Size: 39.3 MB
Statistics
- Stars: 5,551
- Watchers: 77
- Forks: 1,181
- Open Issues: 1,040
- Releases: 104
Topics
closember
code-quality
hacktoberfest
linter
pep8
static-analysis
static-code-analysis
Created about 10 years ago
· Last pushed 4 months ago
Metadata Files
Readme
Contributing
Funding
License
Code of conduct
Citation
Codeowners
Security
README.rst
`Pylint`_
=========
.. _`Pylint`: https://pylint.readthedocs.io/
.. This is used inside the doc to recover the start of the introduction
.. image:: https://github.com/pylint-dev/pylint/actions/workflows/tests.yaml/badge.svg?branch=main
:target: https://github.com/pylint-dev/pylint/actions
.. image:: https://codecov.io/gh/pylint-dev/pylint/branch/main/graph/badge.svg?token=ZETEzayrfk
:target: https://codecov.io/gh/pylint-dev/pylint
.. image:: https://img.shields.io/pypi/v/pylint.svg
:alt: PyPI Package version
:target: https://pypi.python.org/pypi/pylint
.. image:: https://readthedocs.org/projects/pylint/badge/?version=latest
:target: https://pylint.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/ambv/black
.. image:: https://img.shields.io/badge/linting-pylint-yellowgreen
:target: https://github.com/pylint-dev/pylint
.. image:: https://results.pre-commit.ci/badge/github/pylint-dev/pylint/main.svg
:target: https://results.pre-commit.ci/latest/github/pylint-dev/pylint/main
:alt: pre-commit.ci status
.. image:: https://bestpractices.coreinfrastructure.org/projects/6328/badge
:target: https://bestpractices.coreinfrastructure.org/projects/6328
:alt: CII Best Practices
.. image:: https://img.shields.io/ossf-scorecard/github.com/PyCQA/pylint?label=openssf%20scorecard&style=flat
:target: https://api.securityscorecards.dev/projects/github.com/PyCQA/pylint
:alt: OpenSSF Scorecard
.. image:: https://img.shields.io/discord/825463413634891776.svg
:target: https://discord.gg/qYxpadCgkx
:alt: Discord
What is Pylint?
---------------
Pylint is a `static code analyser`_ for Python 2 or 3. The latest version supports Python
3.10.0 and above.
.. _`static code analyser`: https://en.wikipedia.org/wiki/Static_code_analysis
Pylint analyses your code without actually running it. It checks for errors, enforces a
coding standard, looks for `code smells`_, and can make suggestions about how the code
could be refactored.
.. _`code smells`: https://martinfowler.com/bliki/CodeSmell.html
Install
-------
.. This is used inside the doc to recover the start of the short text for installation
For command line use, pylint is installed with::
pip install pylint
Or if you want to also check spelling with ``enchant`` (you might need to
`install the enchant C library `_):
.. code-block:: sh
pip install pylint[spelling]
It can also be integrated in most editors or IDEs. More information can be found
`in the documentation`_.
.. _in the documentation: https://pylint.readthedocs.io/en/latest/user_guide/installation/index.html
.. This is used inside the doc to recover the end of the short text for installation
What differentiates Pylint?
---------------------------
Pylint is not trusting your typing and is inferring the actual values of nodes (for a
start because there was no typing when pylint started off) using its internal code
representation (astroid). If your code is ``import logging as argparse``, Pylint
can check and know that ``argparse.error(...)`` is in fact a logging call and not an
argparse call. This makes pylint slower, but it also lets pylint find more issues if
your code is not fully typed.
[inference] is the killer feature that keeps us using [pylint] in our project despite how painfully slow it is.
- `Realist pylint user`_, 2022
.. _`Realist pylint user`: https://github.com/charliermarsh/ruff/issues/970#issuecomment-1381067064
pylint, not afraid of being a little slower than it already is, is also a lot more thorough than other linters.
There are more checks, including some opinionated ones that are deactivated by default
but can be enabled using configuration.
How to use pylint
-----------------
Pylint isn't smarter than you: it may warn you about things that you have
conscientiously done or check for some things that you don't care about.
During adoption, especially in a legacy project where pylint was never enforced,
it's best to start with the ``--errors-only`` flag, then disable
convention and refactor messages with ``--disable=C,R`` and progressively
re-evaluate and re-enable messages as your priorities evolve.
Pylint is highly configurable and permits to write plugins in order to add your
own checks (for example, for internal libraries or an internal rule). Pylint also has an
ecosystem of existing plugins for popular frameworks and third-party libraries.
.. note::
Pylint supports the Python standard library out of the box. Third-party
libraries are not always supported, so a plugin might be needed. A good place
to start is ``PyPI`` which often returns a plugin by searching for
``pylint ``. `pylint-pydantic`_, `pylint-django`_ and
`pylint-sonarjson`_ are examples of such plugins. More information about plugins
and how to load them can be found at `plugins`_.
.. _`plugins`: https://pylint.readthedocs.io/en/latest/development_guide/how_tos/plugins.html#plugins
.. _`pylint-pydantic`: https://pypi.org/project/pylint-pydantic
.. _`pylint-django`: https://github.com/pylint-dev/pylint-django
.. _`pylint-sonarjson`: https://github.com/cnescatlab/pylint-sonarjson-catlab
Advised linters alongside pylint
--------------------------------
Projects that you might want to use alongside pylint include ruff_ (**really** fast,
with builtin auto-fix and a large number of checks taken from popular linters, but
implemented in ``rust``) or flake8_ (a framework to implement your own checks in python using ``ast`` directly),
mypy_, pyright_ / pylance or pyre_ (typing checks), bandit_ (security oriented checks), black_ and
isort_ (auto-formatting), autoflake_ (automated removal of unused imports or variables), pyupgrade_
(automated upgrade to newer python syntax) and pydocstringformatter_ (automated pep257).
.. _ruff: https://github.com/astral-sh/ruff
.. _flake8: https://github.com/PyCQA/flake8
.. _bandit: https://github.com/PyCQA/bandit
.. _mypy: https://github.com/python/mypy
.. _pyright: https://github.com/microsoft/pyright
.. _pyre: https://github.com/facebook/pyre-check
.. _black: https://github.com/psf/black
.. _autoflake: https://github.com/myint/autoflake
.. _pyupgrade: https://github.com/asottile/pyupgrade
.. _pydocstringformatter: https://github.com/DanielNoord/pydocstringformatter
.. _isort: https://pycqa.github.io/isort/
Additional tools included in pylint
-----------------------------------
Pylint ships with two additional tools:
- pyreverse_ (standalone tool that generates package and class diagrams.)
- symilar_ (duplicate code finder that is also integrated in pylint)
.. _pyreverse: https://pylint.readthedocs.io/en/latest/additional_tools/pyreverse/index.html
.. _symilar: https://pylint.readthedocs.io/en/latest/additional_tools/symilar/index.html
.. This is used inside the doc to recover the end of the introduction
Contributing
------------
.. This is used inside the doc to recover the start of the short text for contribution
We welcome all forms of contributions such as updates for documentation, new code, checking issues for duplicates or telling us
that we can close them, confirming that issues still exist, `creating issues because
you found a bug or want a feature`_, etc. Everything is much appreciated!
Please follow the `code of conduct`_ and check `the Contributor Guides`_ if you want to
make a code contribution.
.. _creating issues because you found a bug or want a feature: https://pylint.readthedocs.io/en/latest/contact.html#bug-reports-feedback
.. _code of conduct: https://github.com/pylint-dev/pylint/blob/main/CODE_OF_CONDUCT.md
.. _the Contributor Guides: https://pylint.readthedocs.io/en/latest/development_guide/contribute.html
.. This is used inside the doc to recover the end of the short text for contribution
Show your usage
-----------------
You can place this badge in your README to let others know your project uses pylint.
.. image:: https://img.shields.io/badge/linting-pylint-yellowgreen
:target: https://github.com/pylint-dev/pylint
Learn how to add a badge to your documentation in `the badge documentation`_.
.. _the badge documentation: https://pylint.readthedocs.io/en/latest/user_guide/installation/badge.html
License
-------
pylint is, with a few exceptions listed below, `GPLv2 `_.
The icon files are licensed under the `CC BY-SA 4.0 `_ license:
- `doc/logo.png `_
- `doc/logo.svg `_
Support
-------
Please check `the contact information`_.
.. _`the contact information`: https://pylint.readthedocs.io/en/latest/contact.html
.. |tideliftlogo| image:: https://raw.githubusercontent.com/pylint-dev/pylint/main/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White.png
:width: 200
:alt: Tidelift
.. list-table::
:widths: 10 100
* - |tideliftlogo|
- Professional support for pylint is available as part of the `Tidelift
Subscription`_. Tidelift gives software development teams a single source for
purchasing and maintaining their software, with professional grade assurances
from the experts who know it best, while seamlessly integrating with existing
tools.
.. _Tidelift Subscription: https://tidelift.com/subscription/pkg/pypi-pylint?utm_source=pypi-pylint&utm_medium=referral&utm_campaign=readme
Citation (CITATION.cff)
cff-version: 1.2.0 title: "Pylint" message: >- If you use this software, please cite it using the metadata from this file. type: software authors: - name: "Pylint contributors" repository-code: "https://github.com/pylint-dev/pylint" url: "https://pylint.readthedocs.io/en/latest/" abstract: >- Pylint is a static code analyser for Python 2 or 3. Pylint analyses your code without actually running it. It checks for errors, enforces a coding standard, looks for code smells, and can make suggestions about how the code could be refactored. license: GPL-2.0
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Claudiu Popa | p****e@g****m | 1,777 |
| Pierre Sassoulas | p****s@g****m | 1,484 |
| Daniël van Noord | 1****d | 707 |
| Sylvain Thénault | s****t@l****r | 595 |
| Jacob Walls | j****s@g****m | 470 |
| dependabot[bot] | 4****] | 370 |
| Marc Mueller | 3****p | 310 |
| Emile Anclin | e****n@l****r | 270 |
| pre-commit-ci[bot] | 6****] | 185 |
| Mark Byrne | 3****2 | 140 |
| hippo91 | g****x@g****m | 128 |
| github-actions[bot] | 4****] | 122 |
| Matus Valo | m****o | 93 |
| DudeNr33 | 3****3 | 91 |
| Torsten Marek | s****e@g****m | 88 |
| Dani Alcala | 1****a | 83 |
| Torsten Marek | t****k@g****m | 66 |
| Łukasz Rogalski | r****1@g****m | 61 |
| Nick Drozd | n****d@g****m | 58 |
| Ashley Whetter | a****y@a****k | 53 |
| Bryce Guinta | b****a@g****m | 51 |
| Michal Nowikowski | g****d@g****m | 50 |
| Julthep Nandakwang | j****p@n****m | 50 |
| yushao2 | 3****2 | 42 |
| ssolanki | s****i@g****m | 39 |
| Harutaka Kawamura | h****0@g****m | 37 |
| Brett Cannon | b****t@p****g | 36 |
| Dmitry Pribysh | d****d@y****u | 36 |
| Laura Médioni | l****i@l****r | 36 |
| Bruno Daniel | b****l@b****m | 34 |
| and 564 more... | ||
Committer Domains (Top 20 + Academic)
logilab.fr: 19
google.com: 12
redhat.com: 7
microsoft.com: 2
ibm.com: 2
mail.tau.ac.il: 2
gmx.de: 2
pm.me: 2
mailbox.org: 2
polyconseil.fr: 2
pheanex.de: 2
crater.logilab.fr: 2
the-compiler.org: 2
python.org: 2
bitdefender.com: 2
vauxoo.com: 2
bittner.it: 1
affirm.com: 1
rtpg.co: 1
rachum.com: 1
uchicago.edu: 1
cs.toronto.edu: 1
umich.edu: 1
cornell.edu: 1
deakin.edu.au: 1
ucsd.edu: 1
hmc.edu: 1
mit.edu: 1
terpmail.umd.edu: 1
goa.bits-pilani.ac.in: 1
climate-energy-college.org: 1
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 1,197
- Total pull requests: 1,534
- Average time to close issues: 6 months
- Average time to close pull requests: 29 days
- Total issue authors: 801
- Total pull request authors: 159
- Average comments per issue: 3.55
- Average comments per pull request: 3.37
- Merged pull requests: 1,178
- Bot issues: 2
- Bot pull requests: 544
Past Year
- Issues: 243
- Pull requests: 636
- Average time to close issues: 13 days
- Average time to close pull requests: 6 days
- Issue authors: 179
- Pull request authors: 59
- Average comments per issue: 1.06
- Average comments per pull request: 2.75
- Merged pull requests: 475
- Bot issues: 1
- Bot pull requests: 238
Top Authors
Issue Authors
- Pierre-Sassoulas (36)
- jacobtylerwalls (34)
- nickdrozd (20)
- sam-s (17)
- bersbersbers (13)
- pylint-bot (12)
- jamesbraza (11)
- EugeneZelenko (9)
- correctmost (9)
- socketpair (8)
- jolaf (7)
- stdedos (7)
- Julfried (6)
- akamat10 (6)
- orSolocate (6)
Pull Request Authors
- dependabot[bot] (243)
- jacobtylerwalls (220)
- Pierre-Sassoulas (202)
- pre-commit-ci[bot] (156)
- github-actions[bot] (135)
- cdce8p (69)
- nickdrozd (36)
- mbyrnepr2 (36)
- Julfried (28)
- zenlyj (27)
- DanielNoord (18)
- correctmost (15)
- akamat10 (12)
- alexprabhat99 (12)
- pylint-backport-bot[bot] (10)
Top Labels
Issue Labels
Needs PR (323)
Needs triage :inbox_tray: (311)
False Positive 🦟 (202)
Bug :beetle: (161)
Enhancement ✨ (146)
Documentation :green_book: (71)
Help wanted 🙏 (68)
Needs decision :lock: (65)
False Negative 🦋 (64)
Crash 💥 (60)
Needs investigation 🔬 (58)
Duplicate 🐫 (50)
Good first issue (43)
pyreverse (40)
Needs astroid update (38)
Needs astroid Brain 🧠 (36)
Question (35)
Astroid (34)
Lib specific 💅 (32)
Control flow (30)
Needs specification :closed_lock_with_key: (29)
C: used-before-assignment (27)
Maintenance (26)
Proposal 📨 (24)
typing (22)
Won't fix/not planned (22)
python 3.12 (22)
High priority (20)
Minor 💅 (20)
Import system (19)
Pull Request Labels
Skip news :mute: (799)
Maintenance (309)
dependency (252)
False Positive 🦟 (130)
Documentation :green_book: (126)
backport maintenance/3.3.x (94)
Enhancement ✨ (90)
Backported (76)
Bug :beetle: (70)
Crash 💥 (47)
False Negative 🦋 (46)
pyreverse (41)
backport maintenance/3.2.x (39)
Needs take over 🛎️ (27)
primer (25)
Work in progress (23)
python 3.12 (19)
C: used-before-assignment (17)
Waiting on author (16)
Needs decision :lock: (13)
performance (13)
Blocked 🚧 (13)
python 3.14 (10)
tests (9)
Regression (9)
Breaking changes for 4.0 🦤 (8)
Needs review 🔍 (7)
typing (7)
python 3.13 (7)
Won't fix/not planned (6)
Packages
- Total packages: 6
-
Total downloads:
- pypi 33,653,756 last-month
- homebrew 1,125 last-month
- Total docker downloads: 2,470,905,286
-
Total dependent packages: 3,364
(may contain duplicates) -
Total dependent repositories: 118,058
(may contain duplicates) - Total versions: 389
- Total maintainers: 11
pypi.org: pylint
python code static checker
- Documentation: https://pylint.readthedocs.io/
- License: gpl-2.0
-
Latest release: 3.3.8
published 5 months ago
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Docker downloads count: 0.0%
Downloads: 0.1%
Average: 0.4%
Stargazers count: 0.8%
Forks count: 1.7%
Maintainers (9)
Last synced:
4 months ago
proxy.golang.org: github.com/pylint-dev/pylint
- Documentation: https://pkg.go.dev/github.com/pylint-dev/pylint#section-documentation
- License: gpl-2.0
-
Latest release: v3.3.8+incompatible
published 5 months ago
Rankings
Forks count: 0.8%
Stargazers count: 1.0%
Average: 5.5%
Dependent packages count: 9.6%
Dependent repos count: 10.8%
Last synced:
4 months ago
anaconda.org: pylint
Pylint is a tool that checks for errors in Python code, tries to enforce a coding standard and looks for code smells.
- Homepage: https://www.pylint.org
- License: GPL-2.0-or-later
-
Latest release: 3.3.8
published 5 months ago
Rankings
Dependent repos count: 5.9%
Average: 10.0%
Dependent packages count: 11.1%
Forks count: 11.1%
Stargazers count: 11.7%
Last synced:
4 months ago
formulae.brew.sh: pylint
It's not just a linter that annoys you!
- Homepage: https://github.com/pylint-dev/pylint
- License: GPL-2.0-or-later
-
Latest release: 3.3.8
published 5 months ago
Rankings
Forks count: 2.5%
Stargazers count: 5.7%
Average: 11.8%
Dependent repos count: 15.5%
Downloads: 15.9%
Dependent packages count: 19.4%
Last synced:
4 months ago
pypi.org: pylint-xonsh
python code static checker
- Documentation: https://pylint-xonsh.readthedocs.io/
- License: GPL-2.0-or-later
-
Latest release: 4.0.9.dev0
published 7 months ago
Rankings
Stargazers count: 1.0%
Forks count: 1.7%
Dependent packages count: 9.0%
Downloads: 11.8%
Average: 14.9%
Dependent repos count: 50.8%
Maintainers (1)
Last synced:
4 months ago
pypi.org: pylint-pa
python code static checker, but passive-aggressive
- Documentation: https://pylint-pa.readthedocs.io/
- License: GPL-2.0-or-later
-
Latest release: 3.0.0b1
published over 2 years ago
Rankings
Dependent packages count: 7.4%
Average: 27.5%
Dependent repos count: 47.6%
Maintainers (1)
Last synced:
4 months ago