From: Tom Christie Date: Fri, 12 Jan 2024 12:18:49 +0000 (+0000) Subject: Linting X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=913ea35324c99c2052331008ea8a4b8037e5b4cb;p=thirdparty%2Fhttpx.git Linting --- diff --git a/httpx/_config.py b/httpx/_config.py index 69c3c6ff..1af8a456 100644 --- a/httpx/_config.py +++ b/httpx/_config.py @@ -12,7 +12,6 @@ from ._types import CertTypes, HeaderTypes, TimeoutTypes, URLTypes, VerifyTypes from ._urls import URL from ._utils import get_ca_bundle_from_env - SOCKET_OPTION = typing.Union[ typing.Tuple[int, int, int], typing.Tuple[int, int, typing.Union[bytes, bytearray]], diff --git a/httpx/_transports/default.py b/httpx/_transports/default.py index 78020269..0829b570 100644 --- a/httpx/_transports/default.py +++ b/httpx/_transports/default.py @@ -32,9 +32,9 @@ import httpcore from .._config import ( DEFAULT_LIMITS, DEFAULT_NETWORK_OPTIONS, - Proxy, Limits, NetworkOptions, + Proxy, create_ssl_context, ) from .._exceptions import (