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

## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :hammer: Refactoring | ## Description Follow-up to #9709, had to open a new PR...

Enhancement ✨
duplicate-code
Maintenance

### Bug description ```python # pylint_used_before_assignment_nested_match.py from enum import Enum from typing import assert_never class Example(Enum): FOO = 1 BAR = 2 def check_value_only_match(example: Example) -> str | None: match...

False Positive 🦟
C: used-before-assignment
Needs PR

### Bug description ```python Steps to reproduce: class Model: field: list[int] | None = None def method(self): return [f + 1 for f in self.field] if self.field else None if...

Astroid
False Positive 🦟
Needs PR

### Bug description MWE: ```python import numpy as np class A: foo = np.array([1, 2]) ``` and then run the following: ``` pyreverse -ASmy fail.py ``` ### Configuration _No response_...

Needs triage :inbox_tray:

### Bug description pylint crashed with a ``AstroidError`` and with the following stacktrace: ``` Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/pylint/lint/pylinter.py", line 727, in _check_file check_astroid_module(ast_node) File "/usr/lib/python3.11/site-packages/pylint/lint/pylinter.py", line 926,...

Crash 💥
Waiting on author
python 3.11

### Bug description ```python # Given some PyTest class with a setup_teardown class TestFile: @pytest.fixture(scope="class") def setup_teardown_environment(self, request: pytest.FixtureRequest): # The following line assigns a value to `temp1` which can...

Needs triage :inbox_tray:

### Bug description Pylint reports a W0143 warning when comparing an attribute that is a descriptor to a constant, but only when the descriptor class has more than one level...

False Positive 🦟
Needs PR

### Bug description Probably, using complex expressions as defaults is a kind of a bad practice, but the language *does* support this. I'm suggesting to relax the checker for such...

Proposal 📨
Needs decision :lock:

### Bug description It seems pylint can't process `nonlocal` statement in `try` and `while` block correctly, but no problem in for block. ```python # pylint: disable=missing-docstring, bare-except def outer(): a...

False Positive 🦟
C: used-before-assignment
Needs PR

### Bug description ```python from typing import NoReturn def raise_function() -> NoReturn: raise RuntimeError class MyClass: @staticmethod def raise_staticmethod() -> NoReturn: raise RuntimeError @classmethod def raise_classmethod(cls) -> NoReturn: raise RuntimeError...

Enhancement ✨
Good first issue
False Positive 🦟
Needs PR