click-default-group
click-default-group copied to clipboard
Missing type hints causes mypy to complain
Because of the missing type hints, when using cls=DefaultGroup
it is necessary to use # type: ignore
to prevent errors like:
error: Untyped decorator makes function "my_function" untyped [misc]
So I copied the types from click 8.1.7 which makes mypy happy. I'll open the PR shortly.
See https://github.com/click-contrib/click-default-group/pull/27 for possible resolution for this issue