format: add isort to pre-commit and sort imports.

This commit is contained in:
UpstreamData
2022-11-10 14:15:45 -07:00
parent 228daecbbf
commit f3b25027ad
82 changed files with 226 additions and 258 deletions

View File

@@ -12,13 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import ipaddress
import asyncio
import ipaddress
import logging
from typing import Union, List, AsyncIterator
from typing import AsyncIterator, List, Union
from pyasic.miners.miner_factory import AnyMiner, MinerFactory
from pyasic.network.net_range import MinerNetworkRange
from pyasic.miners.miner_factory import MinerFactory, AnyMiner
from pyasic.settings import PyasicSettings

View File

@@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from typing import Union
import ipaddress
from typing import Union
class MinerNetworkRange: