mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-09 10:28:46 +00:00
fix style
This commit is contained in:
parent
42820e2f9e
commit
69e41c2d05
@ -1,7 +1,7 @@
|
|||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
import usb
|
|
||||||
import bluetooth
|
import bluetooth
|
||||||
|
import usb
|
||||||
|
|
||||||
_WIRE_INTERFACE_USB = b"\x01"
|
_WIRE_INTERFACE_USB = b"\x01"
|
||||||
_WIRE_INTERFACE_BLE = b"\x02"
|
_WIRE_INTERFACE_BLE = b"\x02"
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from trezorlib.client import ProtocolV2Channel
|
from trezorlib.client import ProtocolV2Channel
|
||||||
from trezorlib.debuglink import TrezorClientDebugLink as Client
|
from trezorlib.debuglink import TrezorClientDebugLink as Client
|
||||||
|
|
||||||
|
|
||||||
from .connect import prepare_protocol_for_handshake
|
from .connect import prepare_protocol_for_handshake
|
||||||
|
|
||||||
|
|
||||||
pytestmark = [pytest.mark.protocol("protocol_v2")]
|
pytestmark = [pytest.mark.protocol("protocol_v2")]
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
import pytest
|
|
||||||
from trezorlib.client import ProtocolV2Channel
|
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
|
||||||
|
from trezorlib.client import ProtocolV2Channel
|
||||||
from trezorlib.debuglink import TrezorClientDebugLink as Client
|
from trezorlib.debuglink import TrezorClientDebugLink as Client
|
||||||
|
|
||||||
pytestmark = [pytest.mark.protocol("protocol_v2")]
|
pytestmark = [pytest.mark.protocol("protocol_v2")]
|
||||||
|
@ -33,10 +33,10 @@ from trezorlib.transport.thp import curve25519
|
|||||||
from trezorlib.transport.thp.cpace import Cpace
|
from trezorlib.transport.thp.cpace import Cpace
|
||||||
|
|
||||||
from .connect import (
|
from .connect import (
|
||||||
prepare_protocol_for_handshake,
|
|
||||||
prepare_protocol_for_pairing,
|
|
||||||
get_encrypted_transport_protocol,
|
get_encrypted_transport_protocol,
|
||||||
handle_pairing_request,
|
handle_pairing_request,
|
||||||
|
prepare_protocol_for_handshake,
|
||||||
|
prepare_protocol_for_pairing,
|
||||||
)
|
)
|
||||||
|
|
||||||
if t.TYPE_CHECKING:
|
if t.TYPE_CHECKING:
|
||||||
|
Loading…
Reference in New Issue
Block a user