Remove unnecessary F821 noqas (#10123)

This commit is contained in:
Alex Waygood
2023-05-01 15:50:00 +01:00
committed by GitHub
parent 295a5c3e7a
commit 277532219f
4 changed files with 7 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ def build_pattern(mapping=...) -> Generator[str, None, None]: ...
class FixImports(fixer_base.BaseFix):
BM_compatible: ClassVar[Literal[True]]
mapping = MAPPING # noqa: F821
mapping = MAPPING
def build_pattern(self): ...
def compile_pattern(self) -> None: ...
def match(self, node): ...

View File

@@ -3,4 +3,4 @@ from . import fix_imports
MAPPING: dict[str, str]
class FixImports2(fix_imports.FixImports):
mapping = MAPPING # noqa: F821
mapping = MAPPING