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

### Steps to reproduce I have the following file structure: ``` mymodule/ __init__.py foobar.py ``` In `__init__.py` I have: ```python from .foobar import * ``` And in `foobar.py` I have:...

Bug :beetle:
Needs investigation 🔬
False Positive 🦟

### Steps to reproduce Have pylint check multiple modules in a single invocation. There should be duplicate lines among these modules. ``` pylint -ry *.py ``` ### Current behavior The...

Bug :beetle:
duplicate-code

### Steps to reproduce 1. `mkdir package` 2. `echo > package/module.py` 3. `echo "from .module import *" > package/__init__.py` 4. `echo "from package import *; print(module)" > package/test.py` 5. `pylint...

Bug :beetle:
Minor 💅
Needs PR

### Steps to reproduce ```shell mkdir test cd test virtualenv pyt pyt/bin/pip install setuptools==26.1.1 zc.buildout==1.7.1 # Add files buildout.cfg and test.py pyt/bin/buildout ./bin/pylint test.py ``` Where: buildout.cfg ``` [buildout] index...

Bug :beetle:
High effort 🏋
Needs investigation 🔬

1. Unzip the source setting (almost similar files `the_file.py` in different folders with a clean file in a third folder) [pylint_similarities.zip](https://github.com/PyCQA/pylint/files/2034945/pylint_similarities.zip) 2. run pylint on the sources only for message...

Bug :beetle:
Duplicate 🐫

### Steps to reproduce 1. I'm using vscode, and here are my workspace settings ``` { "python.linting.pylintEnabled": true, "python.linting.enabled": true, "python.linting.pylintArgs": [ "--extension-pkg-whitelist=pygame", "--disable=W,C" ], } ``` 2. My code,...

Bug :beetle:
Needs astroid Brain 🧠
Lib specific 💅

### Steps to reproduce Create following files (or unzip [sample.zip](https://github.com/PyCQA/pylint/files/1989998/sample.zip)): *test.py* ```py a = None for i in range(1, 5): if i % 2: a = "foo" else: a =...

Bug :beetle:
Control flow
Needs PR

This is slightly different than #2021: it raises the same error, but this time, the type of the variable appears to be correct. I myself wonder how this code runs...

Bug :beetle:
Needs astroid Brain 🧠
Lib specific 💅
Needs PR

### Steps to reproduce I use simple classproperty decorator: ```python class classproperty(classmethod): def __init__(self, fget): if isinstance(fget, (classmethod, staticmethod)): self.fget = lambda cls: fget.__get__(None, cls)() else: self.fget = fget self.cached...

Bug :beetle:
Enhancement ✨
Decorators

_Update 06/25/22_: see [comment](https://github.com/PyCQA/pylint/issues/1630#issuecomment-1126424923) for an example that still reproduces on 2.14. ### Steps to reproduce Lint the following code: ``` from abc import ABCMeta class foo(meta=ABCMeta): pass ``` ###...

Bug :beetle:
Control flow
False Positive 🦟
Needs PR