mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-19 22:18:13 +00:00
fix(python): remove unused type ignore after click version bump
[no changelog]
This commit is contained in:
parent
9bd6e760da
commit
2ef0071611
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user