format: add isort to pre-commit and sort imports.
This commit is contained in:
@@ -12,9 +12,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from .A7X import CGMinerA7X # noqa - Ignore access to _module
|
||||
from pyasic.miners._types import Avalon721 # noqa - Ignore access to _module
|
||||
|
||||
from .A7X import CGMinerA7X # noqa - Ignore access to _module
|
||||
|
||||
|
||||
class CGMinerAvalon721(CGMinerA7X, Avalon721):
|
||||
def __init__(self, ip: str) -> None:
|
||||
|
||||
@@ -12,9 +12,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from .A7X import CGMinerA7X # noqa - Ignore access to _module
|
||||
from pyasic.miners._types import Avalon741 # noqa - Ignore access to _module
|
||||
|
||||
from .A7X import CGMinerA7X # noqa - Ignore access to _module
|
||||
|
||||
|
||||
class CGMinerAvalon741(CGMinerA7X, Avalon741):
|
||||
def __init__(self, ip: str) -> None:
|
||||
|
||||
@@ -12,9 +12,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from .A7X import CGMinerA7X # noqa - Ignore access to _module
|
||||
from pyasic.miners._types import Avalon761 # noqa - Ignore access to _module
|
||||
|
||||
from .A7X import CGMinerA7X # noqa - Ignore access to _module
|
||||
|
||||
|
||||
class CGMinerAvalon761(CGMinerA7X, Avalon761):
|
||||
def __init__(self, ip: str) -> None:
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from pyasic.miners._backends import CGMiner # noqa - Ignore access to _module
|
||||
|
||||
from pyasic.data import MinerData, HashBoard
|
||||
from pyasic.settings import PyasicSettings
|
||||
import re
|
||||
from pyasic.config import MinerConfig
|
||||
import logging
|
||||
import re
|
||||
|
||||
from pyasic.config import MinerConfig
|
||||
from pyasic.data import HashBoard, MinerData
|
||||
from pyasic.miners._backends import CGMiner # noqa - Ignore access to _module
|
||||
from pyasic.settings import PyasicSettings
|
||||
|
||||
|
||||
class CGMinerA7X(CGMiner):
|
||||
|
||||
Reference in New Issue
Block a user