1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-09 18:38:47 +00:00

fix style

This commit is contained in:
M1nd3r 2025-03-15 00:42:40 +01:00
parent 42820e2f9e
commit 69e41c2d05
4 changed files with 7 additions and 7 deletions

View File

@ -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"

View File

@ -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")]

View File

@ -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")]

View File

@ -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: