mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-10 15:30:55 +00:00
style
This commit is contained in:
parent
1eb364c26c
commit
e52ec86846
@ -32,7 +32,7 @@ arithmetic, so we cannot handle secrets without risking their disclosure.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import hashlib
|
import hashlib
|
||||||
from typing import List, NewType, Tuple
|
from typing import NewType, Tuple
|
||||||
|
|
||||||
Point = NewType("Point", Tuple[int, int, int, int])
|
Point = NewType("Point", Tuple[int, int, int, int])
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
|
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from typing import Optional, Set, Type
|
from typing import Optional
|
||||||
|
|
||||||
from . import protobuf
|
from . import protobuf
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
|
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from typing import Iterable, List, Type
|
from typing import Iterable, Type
|
||||||
|
|
||||||
from ..exceptions import TrezorException
|
from ..exceptions import TrezorException
|
||||||
from ..protobuf import MessageType
|
from ..protobuf import MessageType
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
import logging
|
import logging
|
||||||
import struct
|
import struct
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
from typing import Any, Dict, Iterable, Optional
|
from typing import Any, Dict, Iterable
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
|
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
|
||||||
|
|
||||||
import socket
|
import socket
|
||||||
from typing import Iterable, Optional, cast
|
from typing import Iterable, cast
|
||||||
|
|
||||||
from . import TransportException
|
from . import TransportException
|
||||||
from .protocol import ProtocolBasedTransport, get_protocol
|
from .protocol import ProtocolBasedTransport, get_protocol
|
||||||
|
@ -18,7 +18,7 @@ import atexit
|
|||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
from typing import Iterable, Optional
|
from typing import Iterable
|
||||||
|
|
||||||
from . import TREZORS, UDEV_RULES_STR, TransportException
|
from . import TREZORS, UDEV_RULES_STR, TransportException
|
||||||
from .protocol import ProtocolBasedTransport, ProtocolV1
|
from .protocol import ProtocolBasedTransport, ProtocolV1
|
||||||
|
Loading…
Reference in New Issue
Block a user