mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-15 17:12:04 +00:00
fix(core): help mypy understand micropython's module management
This commit is contained in:
parent
396de3f05e
commit
7e5d9e295b
@ -59,6 +59,9 @@
|
|||||||
|
|
||||||
/// WireInterface = Union[HID, WebUSB]
|
/// WireInterface = Union[HID, WebUSB]
|
||||||
|
|
||||||
|
/// if False:
|
||||||
|
/// from . import fatfs, sdcard
|
||||||
|
|
||||||
STATIC const mp_rom_map_elem_t mp_module_trezorio_globals_table[] = {
|
STATIC const mp_rom_map_elem_t mp_module_trezorio_globals_table[] = {
|
||||||
{MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_trezorio)},
|
{MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_trezorio)},
|
||||||
|
|
||||||
|
@ -193,3 +193,5 @@ TOUCH_START: int # event id of touch start event
|
|||||||
TOUCH_MOVE: int # event id of touch move event
|
TOUCH_MOVE: int # event id of touch move event
|
||||||
TOUCH_END: int # event id of touch end event
|
TOUCH_END: int # event id of touch end event
|
||||||
WireInterface = Union[HID, WebUSB]
|
WireInterface = Union[HID, WebUSB]
|
||||||
|
if False:
|
||||||
|
from . import fatfs, sdcard
|
||||||
|
Loading…
Reference in New Issue
Block a user