mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 14:46:55 +08:00
Remove unnecessary F821 noqas (#10123)
This commit is contained in:
@@ -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): ...
|
||||
|
||||
@@ -3,4 +3,4 @@ from . import fix_imports
|
||||
MAPPING: dict[str, str]
|
||||
|
||||
class FixImports2(fix_imports.FixImports):
|
||||
mapping = MAPPING # noqa: F821
|
||||
mapping = MAPPING
|
||||
|
||||
Reference in New Issue
Block a user