mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-20 06:28:09 +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:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# the return type of @click.pass_obj is improperly specified and pyright doesn't
|
return trezorctl_command_with_client
|
||||||
# understand that it converts f(obj, *args, **kwargs) to f(*args, **kwargs)
|
|
||||||
return trezorctl_command_with_client # type: ignore [is incompatible with return type]
|
|
||||||
|
|
||||||
|
|
||||||
class AliasedGroup(click.Group):
|
class AliasedGroup(click.Group):
|
||||||
|
Loading…
Reference in New Issue
Block a user