Skip to content

Commit ef70b1b

Browse files
committed
Fix isort issues after refactor
1 parent 49cf737 commit ef70b1b

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

web3/_utils/module_testing/eth_module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
construct_error_generator_middleware,
7676
)
7777
from web3.types import ( # noqa: F401
78-
BlockData,
7978
ENS,
79+
BlockData,
8080
FilterParams,
8181
LogReceipt,
8282
Nonce,

web3/eth/async_eth.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import asyncio
2-
import warnings
32
from typing import (
43
Awaitable,
54
Callable,
@@ -9,23 +8,21 @@
98
Type,
109
Union,
1110
)
12-
13-
from hexbytes import (
14-
HexBytes,
15-
)
16-
from web3._utils.blocks import (
17-
select_method_for_block_identifier,
18-
)
19-
from web3.utils import (
20-
async_handle_offchain_lookup,
21-
)
11+
import warnings
2212

2313
from eth_typing import (
2414
Address,
2515
BlockNumber,
2616
ChecksumAddress,
2717
HexStr,
2818
)
19+
from hexbytes import (
20+
HexBytes,
21+
)
22+
23+
from web3._utils.blocks import (
24+
select_method_for_block_identifier,
25+
)
2926
from web3._utils.fee_utils import (
3027
async_fee_history_priority_fee,
3128
)
@@ -50,11 +47,11 @@
5047
default_root_munger,
5148
)
5249
from web3.types import (
50+
ENS,
5351
BlockData,
5452
BlockIdentifier,
5553
BlockParams,
5654
CallOverride,
57-
ENS,
5855
FeeHistory,
5956
FilterParams,
6057
LogReceipt,
@@ -66,6 +63,9 @@
6663
Wei,
6764
_Hash32,
6865
)
66+
from web3.utils import (
67+
async_handle_offchain_lookup,
68+
)
6969

7070

7171
class AsyncEth(BaseEth):

web3/eth/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
Any,
33
NoReturn,
44
Optional,
5-
overload,
65
Sequence,
76
Tuple,
87
Type,
98
Union,
9+
overload,
1010
)
1111

1212
from eth_account import (
@@ -22,6 +22,7 @@
2222
from eth_utils.toolz import (
2323
assoc,
2424
)
25+
2526
from web3._utils.empty import (
2627
Empty,
2728
empty,
@@ -36,9 +37,9 @@
3637
Module,
3738
)
3839
from web3.types import (
40+
ENS,
3941
BlockIdentifier,
4042
CallOverride,
41-
ENS,
4243
GasPriceStrategy,
4344
TxParams,
4445
Wei,

0 commit comments

Comments
 (0)