1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 15:28:10 +00:00

fix: remove unused ignores

This commit is contained in:
M1nd3r 2024-11-19 13:57:11 +01:00
parent 93b66ef42a
commit 369f5c89fb

View File

@ -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(