mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-20 06:28:09 +00:00
fix: remove unused ignores
This commit is contained in:
parent
56e6c45875
commit
e48728ac5e
@ -306,9 +306,7 @@ def with_session(
|
|||||||
pass
|
pass
|
||||||
# TODO try end session if not resumed
|
# TODO try end session if not resumed
|
||||||
|
|
||||||
# the return type of @click.pass_obj is improperly specified and pyright doesn't
|
return function_with_session
|
||||||
# understand that it converts f(obj, *args, **kwargs) to f(*args, **kwargs)
|
|
||||||
return function_with_session # type: ignore [is incompatible with return type]
|
|
||||||
|
|
||||||
|
|
||||||
def with_management_session(
|
def with_management_session(
|
||||||
@ -327,9 +325,7 @@ def with_management_session(
|
|||||||
pass
|
pass
|
||||||
# TODO try end session if not resumed
|
# TODO try end session if not resumed
|
||||||
|
|
||||||
# the return type of @click.pass_obj is improperly specified and pyright doesn't
|
return function_with_management_session
|
||||||
# understand that it converts f(obj, *args, **kwargs) to f(*args, **kwargs)
|
|
||||||
return function_with_management_session # type: ignore [is incompatible with return type]
|
|
||||||
|
|
||||||
|
|
||||||
def with_client(
|
def with_client(
|
||||||
|
Loading…
Reference in New Issue
Block a user