W0631:undefined-loop-variable
false positive when for loop has function call that returns NoReturn
#7311
Labels
C: undefined-variable
Issues related to 'undefined-variable' 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
this is the same issue as #5971, though it seems to have only been fixed for
return
statements but notbreak
,continue
statements or function calls that returnNoReturn
orNever
Configuration
No response
Command used
Pylint output
Expected behavior
no error
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: