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 As of python 3.9, `IM_A_TEAPOT` was added to `http.HTTPStatus`, but pylint reports a `no-member` error. Can be replicated using the following code in `example.py` ```python """Demonstrate a...

python 3.9
False Positive 🦟
Needs astroid update

### Bug description This is a follow-up to #9310, where I reported slowness with `import-error` checks due to repetitive I/O over SSHFS. While profiling the new code, I noticed that...

Enhancement ✨
Astroid
performance
Needs PR

### Bug description Pylint incorrectly tracks types: ```python class Xxx: def __init__(self): self.__val = None @property def get_value(self) -> int: if self.__val is None: self.__val = 42 return self.__val def...

Control flow
False Positive 🦟
Needs PR

### Current problem I use `CheckerTestCase` in tests for linting scripts in a project. There are some tests where I want to assert that a specific message has not been...

Enhancement ✨
Help wanted 🙏
Good first issue
Needs PR

### Bug description Consider the following code: ```python from __future__ import annotations from typing import TYPE_CHECKING if TYPE_CHECKING: import datetime class Z: def something(self) -> None: z = datetime.datetime.now() #...

typing
False Negative 🦋
C: used-before-assignment

### Steps to reproduce Running pylint 3.1.0 to this code will warn about incorrect 'unsubscriptable-object': ```python import numpy as np arr = np.array([1, 2, 3]) converted = np.int16(arr) print(converted[0]) ```...

False Positive 🦟
Lib specific 💅
Needs PR

### Bug description Hi, tested using python3.10 and python3.11 with pylint version >=3.0.0a7 throws an error when trying to import 'rti.connextdds': ```python $ python3.11 -m pylint --disable=missing-class-docstring,missing-module-docstring,missing-function-docstring,too-few-public-methods --verbose * No...

Needs triage :inbox_tray:

### Bug description I have an issue with PyLint and OpenCV. Whenever I import something from openCV I get the following error Pylint (E0611:no-name-in-module). Why doesn't it see the models...

False Positive 🦟
Lib specific 💅

Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version. Release notes Sourced from pytest's releases. 8.2.0 pytest 8.2.0 (2024-04-27) Deprecations #12069: A deprecation warning is now raised when implementations...

High effort 🏋
Needs investigation 🔬
dependency
Skip news :mute:

### Question Would it be possible (or even make sense) to use to use the stubs from typeshed instead of the real libraries in pylint checks? ``` import requests requests.get("https:")...

Proposal 📨
Needs decision :lock:
Needs design proposal :lock: