Skip to content

Commit 7dcb72e

Browse files
committed
Fix import sorting
1 parent 6fe3d15 commit 7dcb72e

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

web3/_utils/events.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515
to_tuple,
1616
)
1717

18-
from web3.datastructures import (
19-
AttributeDict,
20-
)
21-
from web3.exceptions import (
22-
MismatchedABI,
23-
)
2418
from web3._utils.encoding import (
2519
hexstr_if_str,
2620
to_bytes,
@@ -32,6 +26,12 @@
3226
compose,
3327
curry,
3428
)
29+
from web3.datastructures import (
30+
AttributeDict,
31+
)
32+
from web3.exceptions import (
33+
MismatchedABI,
34+
)
3535

3636
from .abi import (
3737
exclude_indexed_event_inputs,

web3/_utils/normalizers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
to_text,
2929
)
3030
from web3._utils.ens import (
31-
is_ens_name,
3231
StaticENS,
32+
is_ens_name,
3333
validate_name_has_address,
3434
)
3535
from web3._utils.toolz import (

web3/manager.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
is_list_like,
66
)
77

8+
from web3._utils.empty import (
9+
empty,
10+
)
11+
from web3._utils.threads import (
12+
spawn,
13+
)
814
from web3.datastructures import (
915
NamedElementOnion,
1016
)
@@ -25,12 +31,6 @@
2531
from web3.providers import (
2632
AutoProvider,
2733
)
28-
from web3._utils.empty import (
29-
empty,
30-
)
31-
from web3._utils.threads import (
32-
spawn,
33-
)
3434

3535

3636
class RequestManager:

web3/middleware/attrdict.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
is_dict,
33
)
44

5-
from web3.datastructures import (
6-
AttributeDict,
7-
)
85
from web3._utils.toolz import (
96
assoc,
107
)
8+
from web3.datastructures import (
9+
AttributeDict,
10+
)
1111

1212

1313
def attrdict_middleware(make_request, web3):

web3/providers/rpc.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
to_dict,
66
)
77

8-
from web3.datastructures import (
9-
NamedElementOnion,
10-
)
11-
from web3.middleware import (
12-
http_retry_request_middleware,
13-
)
148
from web3._utils.http import (
159
construct_user_agent,
1610
)
1711
from web3._utils.request import (
1812
make_post_request,
1913
)
14+
from web3.datastructures import (
15+
NamedElementOnion,
16+
)
17+
from web3.middleware import (
18+
http_retry_request_middleware,
19+
)
2020

2121
from .base import (
2222
JSONBaseProvider,

0 commit comments

Comments
 (0)