pylint
pylint copied to clipboard
It's not just a linter that annoys you!
### Bug description Pylint reports a false positive `E1120: no-value-for-parameter` on a valid static method call on a GI object (e.g., `NM.SimpleConnection.new()`) when running under Python 3.14. This does not...
### Current problem Parallel issue (being 'brought back from the grave') - #5722. when you use the reverse() method on a list object, it modifies (reverses) the list and returns...
## Type of Changes | | Type | | --- | ---------------------- | | | :bug: Bug fix | | | :sparkles: New feature | | | :hammer: Refactoring |...
## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :sparkles: New feature | ## Description Adding extension to check for unassigned non-nullable return...
## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :bug: Bug fix | | ✓ | :hammer: Refactoring | ## Description Closes #9045...
### Current problem The `match` keyword is prone to the following misunderstanding that pylint fails to catch: ```python a = 'a' b = 'b' s = 'a' match s: case...
### Bug description ```python """ Demonstrate an overlooked possibly-used-before-assignment error """ def false_negative1(): """False negative possibly-used-before-assignment""" if object() is None: data={"cat": "harf"} # The following line should raise a possibly-used-before-assignment...
### Current problem I am trying to debug pylint issues/fill in the bug report form and am hit with a massive amount of friction. ### Desired solution Make a pylint...
### Bug description ```python Hello, I'm having this in my python code: from pythoncom import CoInitialize which results in "E0611:No name 'CoInitialize' in module 'pythoncom'" ``` ### Configuration ```ini I...
### Bug description ```python # pylint: disable=missing-docstring def foobar(x): if x not in ["A"]: v = [] if x == "B": print(v) elif x == "A": v = [] else:...