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