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

I have this little snippet: ```py import contextlib @contextlib.contextmanager def context_manager(): try: yield finally: pass cm = context_manager() cm.__enter__() cm.__exit__(None, None, None) ``` pylint signals the "direct" access to the...

Help wanted 🙏
Good first issue
False Positive 🦟
Hacktoberfest
Needs PR

### Steps to reproduce Use the following example to get a negative score: ``` from typing import Optional a, b = 1 a.test ``` Notice that removing the unused import...

Enhancement ✨
Help wanted 🙏
Minor 💅
Good first issue
Hacktoberfest
Needs PR

### Bug description ```python def test(): @classmethod def inner(cls): print(cls.thing) ``` Pylint seems to think that `inner` is a member of the `test` object, while in reality, it is not...

False Positive 🦟
Needs PR

### Bug description A class type used as key for a dict is valid, but is incorrectly reported as unhashable. See Expected Behavior for example. ### Configuration https://github.com/crim-ca/weaver/blob/master/.pylintrc ### Command...

False Positive 🦟
Needs PR

- [x] Write a good description on what the PR does. - [x] Create a news fragment with `towncrier create .` which will be included in the changelog. `` can...

Enhancement ✨
Needs review 🔍

## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :sparkles: New feature | ## Description `consider-using-join` now detects more refactoring opportunities. Example: ```python...

Enhancement ✨
Needs review 🔍

### Bug description ```py # pylint: disable=missing-docstring class GeneralException(Exception): pass try: raise GeneralException('...') except GeneralException: ... # for comparison, pylint triggers on this except Exception: ... ``` ### Configuration _No...

Bug :beetle:
Enhancement ✨
topic-configuration
Good first issue
Needs PR

### Bug description In PyCQA/astroid#1793, I ran `pylint --generate-toml-config` but then two pylint tests failed. To get them to pass, I had to add `disable = ["bad-builtin", "useless-suppression"]`. ### Configuration...

Needs investigation 🔬
pylint-config

### Bug description With Pylint 2.12, `pylint -- file.py` works as expected, with Pylint 2.14 it raises an error like "pylint: error: Unrecognized option found:". I guess that's related to...

topic-configuration
Regression
Needs PR

### Current problem There is currently no Pylint warning if positional-only arguments are treated as keyword arguments: example.py: ```python def my_sum(iterable, /): return sum(iterable) my_list = [1, 2, 3] my_sum(iterable=my_list)...

Enhancement ✨
Checkers
Hacktoberfest
Needs PR