used-before-assignment
false positive for import nodes under elif
after TYPE_CHECKING
#8437
Labels
C: used-before-assignment
Issues related to 'used-before-assignment' check
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
Configuration
No response
Command used
Pylint output
Expected behavior
************* Module a a.py:5:5: W0125: Using a conditional statement with a constant value (using-constant-test) -------------------------------------------------------------------- Your code has been rated at 0.00/10 (previous run: 10.00/10, -10.00)
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: