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

### Current problem The following is valid code but implicates some problems. ```python from dataclasses import dataclass @dataclass class MyClass: __slots__ = ('foo', 'bar', ) foo: str def __init__(self): self.foo...

Enhancement ✨
Needs decision :lock:

### Bug description The cell-var-from-loop warning shows up on conditional use of SystemExit's code property. This appears similar to, but not the same as https://github.com/pylint-dev/pylint/issues/5508, which appears specific to keyword...

False Positive 🦟
Needs PR

### Bug description The using-constant-test warning shows up on conditional use of SystemExit's `code` property. This appears similar to, but not the same as https://github.com/pylint-dev/pylint/issues/3484. Given the following code, run...

False Positive 🦟
Needs PR

### Current problem ```py import sys if sys.version_info > (2, ): from collections.abc import Set else: from collections import Set isinstance(set(), Set) ``` ```console $ pylint --disable=C a.py ************* Module...

Enhancement ✨
Help wanted 🙏
Needs PR

### Bug description ```python I get the following complaint from pylint: models.py:172:11: W0143: Comparing against a callable, did you omit the parenthesis? (comparison-with-callable) ``` The line in question is: if...

Needs triage :inbox_tray:

### Bug no error given in pylint, no run in Python ```python class WinHlp: def print_text(self, txt): print(f'{__class__} {txt=}') class Window: def print_text(self, txt): print(f'{__class__} {txt=}') class Win(WinHlp, Window): def...

False Negative 🦋
Needs PR

### Bug description Writing a custom `@property`-like descriptor causes pylint to issue various false postives. Example code: ```python "Demonstrate class property problems" from typing import Callable class ClassROProperty(property): "Decorator class...

Enhancement ✨
Needs astroid update
Needs design proposal :lock:
properties

### Question I do know about the exceptional behavior of PyLint when it comes to c-extensions. I thought I had workaround that but it seems I still misunderstand something. I...

Question
Documentation :green_book:
Needs triage :inbox_tray:

### Bug description -j0 should automatically detect number of processors available. However, after the changes that introduce _cpu_count() function for calculation available resources in clouds, this works incorrectly on real...

Bug :beetle:
multiprocessing
Needs PR

### Current problem We're getting a lot of report for the new TypeVar naming style lately (#6050, #6003). It's probably annoying users. We took a decision but it's not conveyed...

Enhancement ✨
C: invalid-name
Needs decision :lock: