harvester: Enable isort (#11127)

This commit is contained in:
dustinface 2022-04-20 20:37:05 +02:00 committed by GitHub
parent 1088801e73
commit 38cc36ca5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 9 deletions

View File

@ -45,8 +45,6 @@ extend_skip=
chia/full_node/mempool_check_conditions.py
chia/full_node/mempool_manager.py
chia/full_node/weight_proof.py
chia/harvester/harvester_api.py
chia/harvester/harvester.py
chia/introducer/introducer.py
chia/plotters/bladebit.py
chia/plotters/chiapos.py
@ -60,7 +58,6 @@ extend_skip=
chia/pools/pool_puzzles.py
chia/pools/pool_wallet_info.py
chia/pools/pool_wallet.py
chia/protocols/harvester_protocol.py
chia/protocols/pool_protocol.py
chia/protocols/protocol_state_machine.py
chia/rpc/farmer_rpc_client.py

View File

@ -11,13 +11,13 @@ from chia.consensus.constants import ConsensusConstants
from chia.plot_sync.sender import Sender
from chia.plotting.manager import PlotManager
from chia.plotting.util import (
PlotRefreshEvents,
PlotRefreshResult,
PlotsRefreshParameter,
add_plot_directory,
get_plot_directories,
remove_plot_directory,
remove_plot,
PlotsRefreshParameter,
PlotRefreshResult,
PlotRefreshEvents,
remove_plot_directory,
)
from chia.util.streamable import dataclass_from_dict

View File

@ -3,7 +3,7 @@ import time
from pathlib import Path
from typing import Callable, List, Tuple
from blspy import AugSchemeMPL, G2Element, G1Element
from blspy import AugSchemeMPL, G1Element, G2Element
from chia.consensus.pot_iterations import calculate_iterations_quality, calculate_sp_interval_iters
from chia.harvester.harvester import Harvester

View File

@ -1,5 +1,5 @@
from dataclasses import dataclass
from typing import List, Tuple, Optional
from typing import List, Optional, Tuple
from blspy import G1Element, G2Element