Skip to content

Commit e8fffbc

Browse files
committed
Fix lint
1 parent ee52dcb commit e8fffbc

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

elastic_transport/_async_transport.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import asyncio
1919
import logging
2020
import time
21-
import sniffio
2221
from typing import (
2322
Any,
2423
Awaitable,
@@ -32,6 +31,8 @@
3231
Union,
3332
)
3433

34+
import sniffio
35+
3536
from ._compat import await_if_coro
3637
from ._exceptions import (
3738
ConnectionError,

tests/async_/test_async_transport.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@
2525
from unittest import mock
2626

2727
import anyio
28-
import sniffio
29-
3028
import pytest
29+
import sniffio
3130

3231
from elastic_transport import (
3332
AiohttpHttpNode,

tests/async_/test_httpbin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
import pytest
2222

23-
from elastic_transport import HttpxAsyncHttpNode, AsyncTransport
23+
from elastic_transport import AsyncTransport, HttpxAsyncHttpNode
2424
from elastic_transport._node._base import DEFAULT_USER_AGENT
2525

2626
from ..test_httpbin import parse_httpbin

tests/node/test_tls_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323

2424
from elastic_transport import (
2525
AiohttpHttpNode,
26+
ConnectionError,
2627
HttpxAsyncHttpNode,
2728
NodeConfig,
2829
RequestsHttpNode,
2930
TlsError,
3031
Urllib3HttpNode,
31-
ConnectionError,
3232
)
3333
from elastic_transport._compat import await_if_coro
3434
from elastic_transport.client_utils import url_to_node_config

tests/test_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
AiohttpHttpNode,
2525
ConnectionError,
2626
HttpHeaders,
27-
RequestsHttpNode,
2827
HttpxAsyncHttpNode,
28+
RequestsHttpNode,
2929
Urllib3HttpNode,
3030
debug_logging,
3131
)

0 commit comments

Comments
 (0)