pylint icon indicating copy to clipboard operation
pylint copied to clipboard

It's not just a linter that annoys you!

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

### Bug description Since 2.6.0 pylint reports a false positive `undefined-variable` warning when local decorators are used for a class inside a class. ```py from myconverter import Converter class MyContainer:...

Decorators
False Positive 🦟
C: undefined-variable

- [x] Write a good description on what the PR does. - [x] Create a news fragment with `towncrier create .` which will be included in the changelog. `` can...

False Negative 🦋
Needs take over 🛎️

## Type of Changes | | Type | | --- | ---------------------- | | | :bug: Bug fix | | ✓ | :sparkles: New feature | | | :hammer: Refactoring...

Enhancement ✨
performance
High effort 🏋
Needs take over 🛎️

### Bug description ```python import statistics q1, q2, q3 = statistics.quantiles(list(range(100)), n=4) print(q1, q2, q3) ``` ### Configuration ```ini ``` ### Command used ```shell pylint a.py ``` ### Pylint output...

Needs investigation 🔬
False Positive 🦟

### Bug description ```python from numpy import zeros, where, newaxis omega = zeros(10) w_1 = zeros((10, 5)) w_2 = where(omega < 1., 0., 1.) result = w_1 * w_2[:, newaxis]...

Needs astroid Brain 🧠
False Positive 🦟
Lib specific 💅

### Bug description ```python """Demonstrate pylint bug with wave module.""" import wave import struct if __name__ == "__main__": # Create a 2-second blank WAV file with wave.open("blank_audio.wav", "wb") as wav_file:...

False Positive 🦟
Lib specific 💅
Needs PR

### Bug description When iterating over the pydantic `BaseModel.model_fields` class var pylint errors with `E1133(not-an-iterable)`. Example code: ```python """hi.py file.""" from pydantic import BaseModel class Person(BaseModel): """This is a person...

False Positive 🦟
Lib specific 💅
Needs PR

### Bug description When returning a class variable from an instance the type is not correctly detected and E1133 is raised although a list will be returned. To show I...

Control flow
False Positive 🦟
Needs PR

### Steps to reproduce 1. `pylint --output-format=colorized project/` ### Current behavior Output without color ### Expected behavior Output with color ### pylint --version output ``` pylint --version pylint 2.6.0 astroid...

Enhancement ✨
Needs PR

### Is your feature request related to a problem? Having type annotations makes the code more understandable. Having a way to require methods have type annotations would be a great...

Enhancement ✨
Checkers
typing
Needs PR