We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4daf3d7 commit f73ae65Copy full SHA for f73ae65
1 file changed
stubs/pyflakes/pyflakes/checker.pyi
@@ -149,11 +149,6 @@ class AnnotationState:
149
def in_annotation(func: _F) -> _F: ...
150
def in_string_annotation(func: _F) -> _F: ...
151
152
-if sys.version_info < (3, 14):
153
- _NameConstant: TypeAlias = ast.NameConstant
154
-else:
155
- _NameConstant: TypeAlias = Never
156
-
157
if sys.version_info >= (3, 10):
158
_Match: TypeAlias = ast.Match
159
_MatchCase: TypeAlias = ast.match_case
@@ -190,6 +185,11 @@ else:
190
185
_TypeVarTuple: TypeAlias = Never
191
186
_TypeAlias: TypeAlias = Never
192
187
188
+if sys.version_info < (3, 14): # noqa: Y066
189
+ _NameConstant: TypeAlias = ast.NameConstant
+else:
+ _NameConstant: TypeAlias = Never
+
193
class Checker:
194
nodeDepth: int
195
offset: tuple[int, int] | None
0 commit comments