False positive used-before-assignment
when TYPE_CHECKING is used with if/elif/else blocks
#7574
Labels
C: used-before-assignment
Issues related to 'used-before-assignment' check
Control flow
Requires control flow understanding
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Bug description
Example
Configuration
No response
Command used
Pylint output
Expected behavior
No
used-before-assignment
should be raised.Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: