Skip to content

Commit

Permalink
Ignore a mypy 1.11 warning for now
Browse files Browse the repository at this point in the history
python/lsst/daf/butler/cli/utils.py:793: error: Argument "cls" to "option" has incompatible type "partial[MWOption]"; expected "type[Option] | None"  [arg-type]
  • Loading branch information
timj committed Jul 22, 2024
1 parent de93716 commit 559b69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/daf/butler/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ class MWOptionDecorator:
"""

def __init__(self, *param_decls: Any, **kwargs: Any) -> None:
self.partialOpt = partial(click.option, *param_decls, cls=partial(MWOption), **kwargs)
self.partialOpt = partial(click.option, *param_decls, cls=partial(MWOption), **kwargs) # type: ignore
opt = click.Option(param_decls, **kwargs)
self._name = opt.name
self._opts = opt.opts
Expand Down

0 comments on commit 559b69f

Please sign in to comment.