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:
parent
3a483feefb
commit
4bcece8a43
@ -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
|
||||||
|
|
||||||
|
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user