mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
Use error codes for type ignores (#8280)
Disable reportSelfClsParameterName for pytype as this is out of typeshed's control Closes: #7497
This commit is contained in:
@@ -27,7 +27,7 @@ class _Argon2Common( # type: ignore[misc]
|
||||
min_memory_cost: ClassVar[int]
|
||||
max_threads: ClassVar[int]
|
||||
pure_use_threads: ClassVar[bool]
|
||||
def type_values(cls): ... # type: ignore
|
||||
def type_values(cls): ...
|
||||
type: str
|
||||
parallelism: int
|
||||
version: int
|
||||
|
||||
@@ -78,7 +78,7 @@ class TOTP:
|
||||
def pretty_key(self, format: str = ..., sep: str = ...): ...
|
||||
@classmethod
|
||||
def normalize_time(cls, time): ...
|
||||
def normalize_token(self_or_cls, token): ... # type: ignore
|
||||
def normalize_token(self_or_cls, token): ...
|
||||
def generate(self, time: Any | None = ...): ...
|
||||
@classmethod
|
||||
def verify(cls, token, source, **kwds): ...
|
||||
|
||||
Reference in New Issue
Block a user