False positive for F821
on circular reference in TYPE_CHECKING
block
#11245
Labels
bug
Something isn't working
F821
on circular reference in TYPE_CHECKING
block
#11245
Keywords searched for before creating issue:
F821
,TYPE_CHECKING
.Example code that produces the false positive:
Command line and output:
Expected that
F821
would not be raised in aTYPE_CHECKING
block for a circular reference when using postponed evaluation of annotations (PEP 563).The text was updated successfully, but these errors were encountered: