mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-15 20:19:23 +00:00
src: make flake8 happy
This commit is contained in:
parent
a13639997e
commit
67d835fd3e
@ -1,4 +1,4 @@
|
||||
from trezor import loop, ui, wire
|
||||
from trezor import ui, wire
|
||||
from trezor.messages import ButtonRequestType, wire_types
|
||||
from trezor.messages.ButtonRequest import ButtonRequest
|
||||
from trezor.messages.FailureType import ActionCancelled, ProcessError
|
||||
|
@ -187,6 +187,7 @@ async def check_mnemonic(ctx, mnemonic: str) -> bool:
|
||||
|
||||
return True
|
||||
|
||||
|
||||
@ui.layout
|
||||
async def check_word(ctx, words: list, index: int):
|
||||
keyboard = MnemonicKeyboard('Type the %s word:' % format_ordinal(index + 1))
|
||||
|
@ -1,7 +1,7 @@
|
||||
from micropython import const
|
||||
import ustruct
|
||||
|
||||
from trezor import io, ui
|
||||
from trezor import io
|
||||
from trezor import loop
|
||||
from trezor import utils
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user