Skip to content

Commit 392c433

Browse files
committed
Add F821 to our per-file-ignores
1 parent 5744e64 commit 392c433

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ max-complexity = 12
3030
noqa-require-code = true
3131
per-file-ignores =
3232
*.py: B905, B907, B950, E203, E501, W503, W291, W293
33-
*.pyi: B, E301, E302, E305, E501, E701, E704, W503
33+
*.pyi: B, E301, E302, E305, E501, E701, E704, F821, W503

tests/classdefs.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flags: --extend-ignore=F821,Y023
1+
# flags: --extend-ignore=Y023
22

33
import abc
44
import builtins

tests/del.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flags: --extend-ignore=F821,Y037
1+
# flags: --extend-ignore=Y037
22
from typing import TypeAlias, Union
33

44
ManyStr: TypeAlias = list[EitherStr]

tests/pep695_py312.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# flags: --extend-ignore=F821
2-
31
import typing
42
from collections.abc import Iterator
53
from typing import (

tests/typevar.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flags: --extend-ignore=F821,Y037
1+
# flags: --extend-ignore=Y037
22
import typing
33
from typing import Annotated, ParamSpec, TypeVar, TypeVarTuple, Union
44

0 commit comments

Comments
 (0)