Block-level disabling of invalid-name
does not work after else
#3898
Labels
Bug 🪲
Duplicate 🐫
Duplicate of an already existing issue
False Positive 🦟
A message is emitted but nothing is wrong with the code
Minor 💅
Polishing pylint is always nice
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce
bug.py
:Current behavior
Expected behavior
No warning.
pylint --version output
~> pylint --version
pylint 2.6.0
astroid 2.4.2
Python 3.8.6 (default, Sep 29 2020, 15:36:55)
[GCC 7.5.0]
This may be a duplicate of #3136 (or not).
The text was updated successfully, but these errors were encountered: