1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 03:50:58 +00:00

style: update isort and new relative-import sorting rules

This commit is contained in:
matejcik 2019-03-07 14:16:48 +01:00
parent 22376bede4
commit c414e8abfa
3 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,6 @@
pytest>=3.6 pytest>=3.6
flake8 flake8
protobuf protobuf
isort isort==4.3.10
black; python_version >= "3.6" black; python_version >= "3.6"
autoflake>=1.2 autoflake>=1.2

View File

@ -21,8 +21,8 @@ from typing import Any, Dict, Iterable, Optional
import requests import requests
from . import Transport, TransportException
from .. import mapping, protobuf from .. import mapping, protobuf
from . import Transport, TransportException
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -22,8 +22,8 @@ from typing import Tuple
from typing_extensions import Protocol as StructuralType from typing_extensions import Protocol as StructuralType
from . import Transport
from .. import mapping, protobuf from .. import mapping, protobuf
from . import Transport
REPLEN = 64 REPLEN = 64