Skip to content

Commit 7b13fd5

Browse files
committed
Fix import sorting
1 parent 3f8bd01 commit 7b13fd5

File tree

4 files changed

+17
-18
lines changed

4 files changed

+17
-18
lines changed

web3/_utils/events.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
to_tuple,
1313
)
1414

15-
from web3._utils.abi import (
16-
process_type,
17-
)
1815
from web3._utils.encoding import (
1916
hexstr_if_str,
2017
to_bytes,
@@ -32,12 +29,14 @@
3229
from web3.exceptions import (
3330
MismatchedABI,
3431
)
32+
3533
from .abi import (
3634
exclude_indexed_event_inputs,
3735
get_abi_input_names,
3836
get_indexed_event_inputs,
3937
map_abi_data,
4038
normalize_event_input_types,
39+
process_type,
4140
)
4241

4342

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)