1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00

fix(python): remove unused type ignore after click version bump

[no changelog]
This commit is contained in:
M1nd3r 2024-11-19 10:10:17 +01:00 committed by Petr Sedláček
parent 9bd6e760da
commit 2ef0071611

View File

@ -156,9 +156,7 @@ def with_client(func: "Callable[Concatenate[TrezorClient, P], R]") -> "Callable[
except Exception:
pass
# 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 trezorctl_command_with_client # type: ignore [is incompatible with return type]
return trezorctl_command_with_client
class AliasedGroup(click.Group):