mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-12 16:10:12 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
1 parent
1278fa86e2
commit
a5bc1e037f
74 files changed
+218
-202
No files matched your search
@@ -135,7 +135,7 @@ class JSONWebSignatureSerializer(Serializer):
|
||||
def load_payload(
|
||||
self, payload: Text | bytes, serializer: _serializer | None = ..., return_header: bool = ...
|
||||
) -> Any: ... # morally -> Any | Tuple[Any, MutableMapping[str, Any]]
|
||||
def dump_payload(self, header: Mapping[str, Any], obj: Any) -> bytes: ... # type: ignore
|
||||
def dump_payload(self, header: Mapping[str, Any], obj: Any) -> bytes: ... # type: ignore[override]
|
||||
def make_algorithm(self, algorithm_name: Text) -> SigningAlgorithm: ...
|
||||
def make_signer(self, salt: Text | bytes | None = ..., algorithm: SigningAlgorithm = ...) -> Signer: ...
|
||||
def make_header(self, header_fields: Mapping[str, Any] | None) -> MutableMapping[str, Any]: ...
|
||||
|
||||
Reference in new issue
Block a user