Should emit used-before-assignment
for unused type annotation after the same name appears multiple times in a comprehension
#5654
Labels
C: used-before-assignment
Issues related to 'used-before-assignment' check
False Negative 🦋
No message is emitted but something is wrong with the code
Milestone
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
test.py:7:37: E0601: Using variable 'my_none' before assignment (used-before-assignment)
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: