Open jnewbigin opened 9 months ago
Because of the missing type hints, when using cls=DefaultGroupit is necessary to use # type: ignore to prevent errors like:
cls=DefaultGroup
# type: ignore
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
Because of the missing type hints, when using
cls=DefaultGroup
it is necessary to use# type: ignore
to prevent errors like:So I copied the types from click 8.1.7 which makes mypy happy. I'll open the PR shortly.