src: make flake8 happy

This commit is contained in:
Pavol Rusnak 2018-02-28 18:25:04 +01:00
parent a13639997e
commit 67d835fd3e
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 3 additions and 2 deletions

View File

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

View File

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

View File

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