pylint icon indicating copy to clipboard operation
pylint copied to clipboard

It's not just a linter that annoys you!

Results 411 pylint issues
Sort by recently updated
recently updated
newest added

### Bug description The `contextmanager-generator-missing-cleanup` warning triggers a false positive (by my understanding of the warning) when a `yield` expression is fully cleaned up by a surrounding `with` statement (or...

Needs triage :inbox_tray:

> This is a byproduct of the approach for setting the sys/PYTHONPATH recommended here: https://stackoverflow.com/questions/1899436/pylint-unable-to-import-error-how-to-set-pythonpath. A "best practices" approach for this problem should probably be highly visible somewhere here in...

Documentation :green_book:
Needs PR

### Bug description `tool.pylint.ignore-patterns` stopped working in pylint 3.2.0. Pylint can't handle `.pyi` files yet, it just treats them like `.py`, which causes it to report that `|` is invalid,...

Regression
Needs PR

Reported in #9623

False Positive 🦟
Needs PR
pyi

## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :bug: Bug fix | ## Description Refs #8606, https://github.com/pylint-dev/pylint/pull/9620 (follow-up) Closes #9608

Bug :beetle:

## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :bug: Bug | ## Description Closes #9403 by excluding a set of internal pylint...

False Negative 🦋

### Bug description ```python # pylint: disable=missing-module-docstring # pylint: disable=multiple-imports import shutil, sys if sys.version_info >= (3, 13): shutil.chown('/tmp/doesntexist', 222, 222, follow_symlinks=False) else: shutil.chown('/tmp/doesntexist', 222, 222) ``` ### Configuration _No...

Control flow
Needs astroid update

### Bug description ```python Table 'warnings by module' missing in a report ``` ### Configuration _No response_ ### Command used ```shell echo foo > module1.py echo bar > module1.py pylint...

Bug :beetle:
Needs PR

## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :bug: Bug fix | ## Description Closes #9118

False Positive 🦟
backport maintenance/3.2.x

### Bug description ```python Pylint issues the error logging-too-many-args for the following file (named logerr.py: #! /usr/bin/env python3 """ Demonstrate wrong message from pylint """ import logging logging.warning( "The frequency...

False Positive 🦟
Needs PR