Skip to content

Commit 26534a4

Browse files
committed
🎨 isort
Signed-off-by: ff137 <[email protected]>
1 parent 4fe1253 commit 26534a4

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

nats/aio/subscription.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,17 @@
1515
from __future__ import annotations
1616

1717
import asyncio
18-
from typing import TYPE_CHECKING, AsyncIterator, Awaitable, Callable, List, Optional
18+
from typing import (
19+
TYPE_CHECKING,
20+
AsyncIterator,
21+
Awaitable,
22+
Callable,
23+
List,
24+
Optional,
25+
)
1926
from uuid import uuid4
2027

2128
from nats import errors
22-
2329
# Default Pending Limits of Subscriptions
2430
from nats.aio.msg import Msg
2531

nats/js/client.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,15 @@
1818
import time
1919
from email.parser import BytesParser
2020
from secrets import token_hex
21-
from typing import TYPE_CHECKING, Any, Awaitable, Callable, Dict, List, Optional
21+
from typing import (
22+
TYPE_CHECKING,
23+
Any,
24+
Awaitable,
25+
Callable,
26+
Dict,
27+
List,
28+
Optional,
29+
)
2230

2331
import nats.errors
2432
import nats.js.errors

tests/test_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def test_default_connect_command(self):
4040

4141
try:
4242
import orjson
43+
4344
# If using orjson, expected string is without spaces
4445
expected = expected.replace(" ", "")
4546
except ImportError:
@@ -59,6 +60,7 @@ def test_default_connect_command_with_name(self):
5960

6061
try:
6162
import orjson
63+
6264
# If using orjson, expected string is without spaces
6365
expected = expected.replace(" ", "")
6466
except ImportError:

0 commit comments

Comments
 (0)