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:
parent
22376bede4
commit
c414e8abfa
@ -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
|
||||||
|
@ -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__)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user