Bump mypy to 1.11.1 (#12463)

This commit is contained in:
sobolevn
2024-08-05 09:19:28 +03:00
committed by GitHub
parent 0fd6cd211f
commit 6f248dfa37
46 changed files with 120 additions and 113 deletions

View File

@@ -40,7 +40,7 @@ class HmacAuthV3HTTPHandler(AuthHandler, HmacKeys):
def headers_to_sign(self, http_request): ...
def canonical_headers(self, headers_to_sign): ...
def string_to_sign(self, http_request): ...
def add_auth(self, req, **kwargs): ...
def add_auth(self, req, **kwargs): ... # type: ignore[override]
class HmacAuthV4Handler(AuthHandler, HmacKeys):
capability: Any
@@ -65,7 +65,7 @@ class HmacAuthV4Handler(AuthHandler, HmacKeys):
def credential_scope(self, http_request): ...
def string_to_sign(self, http_request, canonical_request): ...
def signature(self, http_request, string_to_sign): ...
def add_auth(self, req, **kwargs): ...
def add_auth(self, req, **kwargs): ... # type: ignore[override]
class S3HmacAuthV4Handler(HmacAuthV4Handler, AuthHandler):
capability: Any
@@ -80,7 +80,7 @@ class S3HmacAuthV4Handler(HmacAuthV4Handler, AuthHandler):
def determine_service_name(self, host): ...
def mangle_path_and_params(self, req): ...
def payload(self, http_request): ...
def add_auth(self, req, **kwargs): ...
def add_auth(self, req, **kwargs): ... # type: ignore[override]
def presign(self, req, expires, iso_date: Incomplete | None = None): ...
class STSAnonHandler(AuthHandler):
@@ -105,7 +105,7 @@ class QuerySignatureV2AuthHandler(QuerySignatureHelper, AuthHandler):
class POSTPathQSV2AuthHandler(QuerySignatureV2AuthHandler, AuthHandler):
capability: Any
def add_auth(self, req, **kwargs): ...
def add_auth(self, req, **kwargs): ... # type: ignore[override]
def get_auth_handler(host, config, provider, requested_capability: Incomplete | None = None): ...
def detect_potential_sigv4(func): ...