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 We run pylint on a reasonably large codebase, ~900 .py files, ~350k lines. Recently we've needed to support two similar versions of the Azure SDK and as...

Needs triage :inbox_tray:

### Question I've been asked to work on an internal library, which has lots of ABCs defined in separate files to their implementations / concrete class. I've come across several...

Question
Documentation :green_book:
Needs triage :inbox_tray:

### Current problem Code being linted has a number of *Python* (not `pylint`) warnings disablements. For example: `warnings.filterwarnings("ignore", category=UserWarning, module="_distutils_hack")` `pylint` ignores these. Understandably so, because it uses `astroid` to...

Needs triage :inbox_tray:

### Bug description ```python import asyncio import functools async def some_iterator(range_, text = 'Text'): for i in range(range_): yield i, text partial_some_iterator = functools.partial(some_iterator, range_ = 10) async def main():...

Needs triage :inbox_tray:

### Bug description ```python # pylint: disable=multiple-statements from abc import ABC, abstractmethod # All these classes have enough public methods according to pylint: class Test: def __init__(self) -> None: self._field...

Needs decision :lock:

### Bug description ```python docx.api import Document ``` ### Configuration ```ini [MAIN] jobs=0 disable=raw-checker-failed, locally-disabled, file-ignored, suppressed-message, deprecated-pragma, missing-function-docstring, missing-class-docstring, missing-module-docstring, too-few-public-methods, line-too-long, no-else-return, protected-access, fixme, wrong-import-order, duplicate-code ``` ###...

Needs triage :inbox_tray:

Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version. Release notes Sourced from pytest's releases. pytest 8.0.0 (2024-01-27) See 8.0.0rc1 and 8.0.0rc2 for the full changes since pytest 7.4!...

Work in progress
dependency
Skip news :mute:

### Bug description ```python I'm running tests for `pylint` and I found that two of them fails when there is `pydantic 1.10.13` installed. ``` ### Configuration _No response_ ### Command...

Help wanted 🙏
Maintenance

### Current problem I have code like this ```python try: with open("blah.txt", "a", encoding="ascii"): pass except exceptions_to_catch: # do stuff ``` The [too-many-try-statements](https://pylint.pycqa.org/en/latest/user_guide/checkers/extensions.html#broad-try-clause-checker-messages) optional checker flags this as 2 statements,...

Enhancement ✨
Needs PR

### Bug description ```python from typing import NamedTuple def function() -> None: def new_obj() -> Foo: return Foo(1) print(new_obj()) class Foo(NamedTuple): field: int function() ``` ### Configuration _No response_ ###...

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