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 ```python # pylint: disable=missing-docstring def target(*, right): del right data = {"wrong": ...} data.update({"right": ...}) # OR # data["right"] = ... # OR # data.setdefault("right", ...) data.pop("wrong")...

Needs triage :inbox_tray:

Possibly related to #2688: the same `no-member` behavior occurs when attempting to access `_asdict`, which is a valid `NamedTuple` method, in a subclass of `NamedTuple`: ```python from typing import NamedTuple...

False Positive 🦟
Needs PR

### Bug description ```python import matplotlib as mpl x = mpl.cm.viridis(1) ``` ### Configuration ```ini [MAIN] extension-pkg-allow-list=matplotlib.cm unsafe-load-any-extension=yes [MESSAGES CONTROL] disable=missing-docstring enable=no-member [TYPECHECK] generated-members=matplotlib.cm.viridis ``` ### Command used ```shell pylint...

Needs triage :inbox_tray:

### Current problem The doc for [csv.reader()](https://docs.python.org/3/library/csv.html#csv.reader) warns that **not** passing `newline` [can cause issues](https://docs.python.org/3/library/csv.html#id4). > A csvfile is most commonly a file-like object or list. If csvfile is a...

Proposal 📨
Needs decision :lock:
Needs specification :closed_lock_with_key:

### Bug description Consider the following pattern example1.py ```python # pylint: disable=missing-docstring class Base: @classmethod def apply(cls, *args, **kwargs): return cls.forward("ctx", *args, **kwargs) @staticmethod def forward(ctx, *args, **kwargs): raise NotImplementedError()...

Needs triage :inbox_tray:

### Bug description ```python # pylint: disable=missing-module-docstring,missing-class-docstring,missing-function-docstring,too-few-public-methods class Parent: def __init__(self): self._foo = 1 @classmethod def create_instance(cls): return cls() class Child(Parent): def __init__(self): super().__init__() self._bar = 'a' @classmethod def create_instance(cls):...

Needs triage :inbox_tray:

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

Enhancement ✨

### Bug description There is a difference in behavior inside conditional branches depending on if the branch is reachable or not. If it is unreachable, then `undefined-variable` warnings are emitted,...

False Negative 🦋
Needs PR

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. Release notes Sourced from codecov/codecov-action's releases. v4.0.0 v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to...

dependency
Skip news :mute:

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

Needs take over 🛎️