From 5cf539985e34c55812c94053b8f1779368e91bc5 Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Tue, 15 Apr 2025 19:38:29 +0200 Subject: [PATCH] chore(core): remove redundant type ignore after micropython update --- core/src/trezor/wire/thp/received_message_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/trezor/wire/thp/received_message_handler.py b/core/src/trezor/wire/thp/received_message_handler.py index 8dfae7fca6..406a56b332 100644 --- a/core/src/trezor/wire/thp/received_message_handler.py +++ b/core/src/trezor/wire/thp/received_message_handler.py @@ -78,7 +78,7 @@ async def handle_received_message( print("micropython.mem_info() from received_message_handler.py") micropython.mem_info() - print("Allocation count:", micropython.alloc_count()) # type: ignore ["alloc_count" is not a known attribute of module "micropython"] + print("Allocation count:", micropython.alloc_count()) except AttributeError: print( "To show allocation count, create the build with TREZOR_MEMPERF=1"