From c414e8abfa88d92e65c4ae759e10d8056b66fc80 Mon Sep 17 00:00:00 2001 From: matejcik Date: Thu, 7 Mar 2019 14:16:48 +0100 Subject: [PATCH] style: update isort and new relative-import sorting rules --- requirements-dev.txt | 2 +- trezorlib/transport/bridge.py | 2 +- trezorlib/transport/protocol.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index f89b93afaf..811e308111 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,6 +3,6 @@ pytest>=3.6 flake8 protobuf -isort +isort==4.3.10 black; python_version >= "3.6" autoflake>=1.2 diff --git a/trezorlib/transport/bridge.py b/trezorlib/transport/bridge.py index b44949b7ce..207f2854a2 100644 --- a/trezorlib/transport/bridge.py +++ b/trezorlib/transport/bridge.py @@ -21,8 +21,8 @@ from typing import Any, Dict, Iterable, Optional import requests -from . import Transport, TransportException from .. import mapping, protobuf +from . import Transport, TransportException LOG = logging.getLogger(__name__) diff --git a/trezorlib/transport/protocol.py b/trezorlib/transport/protocol.py index 05bff36ff2..9fe658f627 100644 --- a/trezorlib/transport/protocol.py +++ b/trezorlib/transport/protocol.py @@ -22,8 +22,8 @@ from typing import Tuple from typing_extensions import Protocol as StructuralType -from . import Transport from .. import mapping, protobuf +from . import Transport REPLEN = 64