fix(core): fix style

M1nd3r 3 weeks ago
parent 0bd7a9a28c
commit fa7bc0e3e5

@ -41,12 +41,7 @@ from trezor.wire.errors import * # isort:skip # noqa: F401,F403
if TYPE_CHECKING:
from trezorio import WireInterface
from typing import (
Any,
Callable,
Coroutine,
TypeVar,
)
from typing import Any, Callable, Coroutine, TypeVar
Msg = TypeVar("Msg", bound=protobuf.MessageType)
HandlerTask = Coroutine[Any, Any, protobuf.MessageType]

@ -15,13 +15,7 @@ from trezor.wire.errors import * # isort:skip # noqa: F401,F403
if TYPE_CHECKING:
from trezorio import WireInterface
from typing import (
Any,
Callable,
Container,
Coroutine,
TypeVar,
)
from typing import Any, Callable, Container, Coroutine, TypeVar
Msg = TypeVar("Msg", bound=protobuf.MessageType)
HandlerTask = Coroutine[Any, Any, protobuf.MessageType]

@ -4,11 +4,7 @@ from trezor import protobuf
if TYPE_CHECKING:
from trezorio import WireInterface
from typing import (
Container,
TypeVar,
overload,
)
from typing import Container, TypeVar, overload
LoadedMessageType = TypeVar("LoadedMessageType", bound=protobuf.MessageType)

Loading…
Cancel
Save