False negative for no-else-return
after except
#7788
Labels
False Negative 🦋
No message is emitted but something is wrong with the code
Good first issue
Friendly and approachable by new contributors
Milestone
Bug description
This snippet returns in the
except
block, and therefore theelse
is unnecessary:It should raise
no-else-return
.Configuration
No response
Command used
`pylint asdf.py`
Pylint output
Expected behavior
Should raise
no-else-return
Pylint version
The text was updated successfully, but these errors were encountered: