1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-01 10:20:59 +00:00

fix: remove unused ignores

[no changelog]
This commit is contained in:
M1nd3r 2024-10-16 16:21:04 +02:00
parent 3a483feefb
commit 4bcece8a43
2 changed files with 2 additions and 10 deletions

View File

@ -47,13 +47,7 @@ if __debug__:
LOG_MEMORY = 0 LOG_MEMORY = 0
if TYPE_CHECKING: if TYPE_CHECKING:
from typing import ( # pyright: ignore[reportShadowedImports] from typing import Any, Iterator, Protocol, Sequence, TypeVar
Any,
Iterator,
Protocol,
Sequence,
TypeVar,
)
from trezor.protobuf import MessageType from trezor.protobuf import MessageType

View File

@ -27,9 +27,7 @@ else:
return cache_codec.get_active_session() return cache_codec.get_active_session()
class TestStorageCache( class TestStorageCache(unittest.TestCase): # noqa: F405
unittest.TestCase
): # noqa: F405 # pyright: ignore[reportUndefinedVariable]
def setUp(self): def setUp(self):
cache.clear_all() cache.clear_all()