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 There's an inconsistency with `import-error` between `except ImportError` and `with contextlib.suppress(ImportError)`. With the former Pylint doesn't complain when it can't find the module/package, but with the latter...

False Positive 🦟
Needs PR

### Bug description Probably related to https://github.com/PyCQA/pylint/issues/6986 When parsing the following file: https://github.com/ddnet/ddnet/blob/f8dccb8a122aff04b7b779157d342c265665b5c7/datasrc/compile.py The code is from this PR https://github.com/ddnet/ddnet/pull/5210 ### Command used The job we use in our CI...

Crash 💥
Needs astroid update

### Bug description ``` import pandas as pd df = pd.DataFrame([[1]], columns=['a']) df['a'].map('{0:+.2f}'.format).astype(str) # pylint: disable=consider-using-f-string ``` ### Configuration _No response_ ### Command used ```shell pylint a.py ``` ### Pylint...

Needs investigation 🔬
False Positive 🦟
Lib specific 💅

### Question ## Description I've written a checker plugin and (with quite a bit of effort) written a simple unit test for it. After struggling with the unittest to make...

Question
Documentation :green_book:

### Current problem Right now pylint is displaying the help if called without argument. We could also default to the current directory i.e. ``pylint`` would be equivalent to ``pylint .``....

Enhancement ✨
Discussion 🤔
Needs decision :lock:

Originally reported by: **Robert Spier (BitBucket: [robert_spier](http://bitbucket.org/robert_spier))** --- Parallelism (--jobs) changes the output of pylint. It's not just the order of the tests, --jobs=2 outputs 18468 lines of output compared...

Bug :beetle:
topic-multiprocessing
High priority
Needs PR

### Bug description I think I'm getting a spurious undefined-loop-variable warning when: - walrus expression in 'if' block of list comprehension - loop variable in list comprehension (`x`, here) is...

False Positive 🦟
topic-assignment-expression
Needs PR

### Bug description ```python from pydantic import validator, BaseModel class Test(BaseModel): a_field: int @validator def some_validator(cls, value): return value ``` This produces the error below, although pydantic's `validator` does indeed...

topic-decorators
False Positive 🦟
Lib specific 💅
Needs PR

### Bug description That check doesn't seem to check if the parent class actually defines enumeration members. This happens only if the parent class is defined in a differen module....

False Positive 🦟
Needs astroid update
topic-enum

I have a similar issue, using pylint 2.14.5 and Python 3.8 on this minimal example: ``` class Block: def __init__(self): self._cacheDir = None @property def cacheDir(self): if self._cacheDir is None:...

topic-pyreverse
Needs triage :inbox_tray: