mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 22:56: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
|
||||
|
||||
@@ -3,8 +3,8 @@ from _typeshed import Incomplete
|
||||
MAC_EPOCH: Incomplete
|
||||
WINDOWS_EPOCH: Incomplete
|
||||
# The following two constants are defined twice in the implementation.
|
||||
CALENDAR_WINDOWS_1900 = WINDOWS_EPOCH # noqa: F821
|
||||
CALENDAR_MAC_1904 = MAC_EPOCH # noqa: F821
|
||||
CALENDAR_WINDOWS_1900 = WINDOWS_EPOCH
|
||||
CALENDAR_MAC_1904 = MAC_EPOCH
|
||||
SECS_PER_DAY: int
|
||||
ISO_FORMAT: str
|
||||
ISO_REGEX: Incomplete
|
||||
|
||||
@@ -20,16 +20,16 @@ django14_context: CryptContext
|
||||
django16_context: CryptContext
|
||||
django110_context: CryptContext
|
||||
django21_context: CryptContext
|
||||
django_context = django21_context # noqa: F821
|
||||
django_context = django21_context
|
||||
std_ldap_schemes: list[str]
|
||||
ldap_nocrypt_context: CryptContext
|
||||
ldap_context: CryptContext
|
||||
mysql3_context: CryptContext
|
||||
mysql4_context: CryptContext
|
||||
mysql_context = mysql4_context # noqa: F821
|
||||
mysql_context = mysql4_context
|
||||
postgres_context: CryptContext
|
||||
phpass_context: CryptContext
|
||||
phpbb3_context: CryptContext
|
||||
roundup10_context: CryptContext
|
||||
roundup15_context: CryptContext
|
||||
roundup_context = roundup15_context # noqa: F821
|
||||
roundup_context = roundup15_context
|
||||
|
||||
Reference in New Issue
Block a user