Skip to content

Commit f73ae65

Browse files
committed
Shut up flake8
1 parent 4daf3d7 commit f73ae65

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

stubs/pyflakes/pyflakes/checker.pyi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,6 @@ class AnnotationState:
149149
def in_annotation(func: _F) -> _F: ...
150150
def in_string_annotation(func: _F) -> _F: ...
151151

152-
if sys.version_info < (3, 14):
153-
_NameConstant: TypeAlias = ast.NameConstant
154-
else:
155-
_NameConstant: TypeAlias = Never
156-
157152
if sys.version_info >= (3, 10):
158153
_Match: TypeAlias = ast.Match
159154
_MatchCase: TypeAlias = ast.match_case
@@ -190,6 +185,11 @@ else:
190185
_TypeVarTuple: TypeAlias = Never
191186
_TypeAlias: TypeAlias = Never
192187

188+
if sys.version_info < (3, 14): # noqa: Y066
189+
_NameConstant: TypeAlias = ast.NameConstant
190+
else:
191+
_NameConstant: TypeAlias = Never
192+
193193
class Checker:
194194
nodeDepth: int
195195
offset: tuple[int, int] | None

0 commit comments

Comments
 (0)