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 import ButtonRequestType, wire_types
|
||||||
from trezor.messages.ButtonRequest import ButtonRequest
|
from trezor.messages.ButtonRequest import ButtonRequest
|
||||||
from trezor.messages.FailureType import ActionCancelled, ProcessError
|
from trezor.messages.FailureType import ActionCancelled, ProcessError
|
||||||
|
|
|
@ -187,6 +187,7 @@ async def check_mnemonic(ctx, mnemonic: str) -> bool:
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
@ui.layout
|
@ui.layout
|
||||||
async def check_word(ctx, words: list, index: int):
|
async def check_word(ctx, words: list, index: int):
|
||||||
keyboard = MnemonicKeyboard('Type the %s word:' % format_ordinal(index + 1))
|
keyboard = MnemonicKeyboard('Type the %s word:' % format_ordinal(index + 1))
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
from micropython import const
|
from micropython import const
|
||||||
import ustruct
|
import ustruct
|
||||||
|
|
||||||
from trezor import io, ui
|
from trezor import io
|
||||||
from trezor import loop
|
from trezor import loop
|
||||||
from trezor import utils
|
from trezor import utils
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue