Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 1, 2022
1 parent 695fb2a commit 0510ac8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aiohttp/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import warnings
from collections import defaultdict, deque
from contextlib import suppress
from http import HTTPStatus
from http.cookies import SimpleCookie
from itertools import cycle, islice
from time import monotonic
Expand Down Expand Up @@ -46,7 +47,6 @@
from .client_proto import ResponseHandler
from .client_reqrep import SSL_ALLOWED_TYPES, ClientRequest, Fingerprint
from .helpers import _SENTINEL, ceil_timeout, is_ip_address, sentinel, set_result
from http import HTTPStatus
from .locks import EventResultOrError
from .resolver import DefaultResolver

Expand Down
2 changes: 1 addition & 1 deletion aiohttp/http.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import sys

from . import __version__
from .http_exceptions import HttpProcessingError as HttpProcessingError
from .http_parser import (
Expand Down Expand Up @@ -62,4 +63,3 @@
SERVER_SOFTWARE: str = "Python/{0[0]}.{0[1]} aiohttp/{1}".format(
sys.version_info, __version__
)

5 changes: 3 additions & 2 deletions aiohttp/web_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import warnings
import zlib
from concurrent.futures import Executor
from http import HTTPStatus
from http.cookies import Morsel
from typing import (
TYPE_CHECKING,
Expand Down Expand Up @@ -39,10 +40,10 @@
sentinel,
validate_etag_value,
)
from .http import SERVER_SOFTWARE, HttpVersion10, HttpVersion11
from .http import SERVER_SOFTWARE, HttpVersion10, HttpVersion11
from .payload import Payload
from .typedefs import JSONEncoder, LooseHeaders
from http import HTTPStatus

__all__ = ("ContentCoding", "StreamResponse", "Response", "json_response")


Expand Down

0 comments on commit 0510ac8

Please sign in to comment.