diff --git a/core/src/trezor/utils.py b/core/src/trezor/utils.py index b97fadd5b7..f8e1f7b94f 100644 --- a/core/src/trezor/utils.py +++ b/core/src/trezor/utils.py @@ -47,13 +47,7 @@ if __debug__: LOG_MEMORY = 0 if TYPE_CHECKING: - from typing import ( # pyright: ignore[reportShadowedImports] - Any, - Iterator, - Protocol, - Sequence, - TypeVar, - ) + from typing import Any, Iterator, Protocol, Sequence, TypeVar from trezor.protobuf import MessageType diff --git a/core/tests/test_storage.cache.py b/core/tests/test_storage.cache.py index 45d8fb0965..210836b1c4 100644 --- a/core/tests/test_storage.cache.py +++ b/core/tests/test_storage.cache.py @@ -27,9 +27,7 @@ else: return cache_codec.get_active_session() -class TestStorageCache( - unittest.TestCase -): # noqa: F405 # pyright: ignore[reportUndefinedVariable] +class TestStorageCache(unittest.TestCase): # noqa: F405 def setUp(self): cache.clear_all()