Skip to content

Commit bbf45d8

Browse files
committed
I now understand what flake8 wants from me
1 parent f73ae65 commit bbf45d8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

stubs/pyflakes/pyflakes/checker.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ else:
185185
_TypeVarTuple: TypeAlias = Never
186186
_TypeAlias: TypeAlias = Never
187187

188-
if sys.version_info < (3, 14): # noqa: Y066
189-
_NameConstant: TypeAlias = ast.NameConstant
190-
else:
188+
if sys.version_info >= (3, 14):
191189
_NameConstant: TypeAlias = Never
190+
else:
191+
_NameConstant: TypeAlias = ast.NameConstant
192192

193193
class Checker:
194194
nodeDepth: int

0 commit comments

Comments
 (0)