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 when a project holds a module name that shadows builtin module name, pylist fails on [`no-member`](https://pylint.pycqa.org/en/latest/messages/error/no-member.html), when clearly this is not the case. ## reproduction given 2...

topic-import-system
False Positive 🦟
Needs PR

### Bug description Hello, I have a simple class inheriting from PyGObject's `Gtk.Window` class. Pylint cannot `Gtk.Window`'s `add` and `show_all` members, yet the code runs fine: ```Python """ The main...

Help wanted 🙏
Needs astroid Brain 🧠
Needs investigation 🔬
False Positive 🦟
Needs PR

Given code like: ```python mm = jax.tree_map(lambda x, y: x + y, f, f) ``` Consider having a pylint rule that suggests replacing it with: ```python mm = jax.tree_map(operator.add, f,...

Enhancement ✨
Needs PR

## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :sparkles: New feature | ## Description Closes #4913

Enhancement ✨
topic-control-flow
False Negative 🦋
C: used-before-assignment

### Steps to reproduce 1. Put this code in test.py: ```python from typing import List, NewType a = NewType("a", List[int]) def fun() -> a: """Some function.""" data = [1, 2,...

Astroid
Work in progress
typing

This is a weird interaction between the typing library and pylint, so I'm not sure if this is the right place to file the bug, but here goes. ### Steps...

Astroid
Work in progress
topic-inference
False Positive 🦟

### Bug description Consider the following file a.py ```python from typing import List def parse_dict(dict_object: List[dict], name: str) -> dict: for dict in dict_object: if dict.get("name") == name: return dict...

topic-typing
False Positive 🦟
Needs PR

```python def my_func(x): if x: pass else: # pylint: disable=protected-access return x._foo ``` The disable has no effect here and a warning is generated. If any statement is insert between...

Bug :beetle:
New parser
Needs review 🔍
Work in progress
Needs astroid update
C: Pragma's

### Steps to reproduce script: ```python import os # pylint: disable=unused-import from sys import exit print("Hi") ``` If you run plain `pylint` on this, you get "W0611: Unused import os...

Bug :beetle:
topic-configuration
topic-command-line
C: Pragma's
Needs PR

### Steps to reproduce Run pylint on the following file: ```py """Minimal repro for pylint's not-an-iterable error. """ from typing import List import attr class Model(object): """Basic model showing pylint's...

Astroid
False Positive 🦟
Needs PR