Skip to content

mypy failing due to click 8.1.4 #7988

Closed

Description

@graingert

linting is failing on distributed main: https://github.com/dask/distributed/actions/runs/5530065906/jobs/10088973828
started failing 2 days ago in https://github.com/dask/distributed/actions/runs/5506239906

see pallets/click#2558

distributed/cli/dask_worker.py:38: error: Argument 1 has incompatible type "Callable[[Any, Any, Optional[str], Any, Any, Optional[str], Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, KwArg(Any)], Any]"; expected <nothing>  [arg-type]
distributed/cli/dask_ssh.py:15: error: Argument 1 has incompatible type "Callable[[Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any], Any]"; expected <nothing>  [arg-type]
distributed/cli/dask_ssh.py:15: error: Argument 1 has incompatible type "Callable[[VarArg(<nothing>), KwArg(<nothing>)], <nothing>]"; expected <nothing>  [arg-type]
distributed/cli/dask_spec.py:13: error: Argument 1 has incompatible type "Callable[[List[Any], str, str], None]"; expected <nothing>  [arg-type]
distributed/cli/dask_scheduler.py:28: error: Argument 1 has incompatible type "Callable[[Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, KwArg(Any)], Any]"; expected <nothing>  [arg-type]

Activity

  1. graingert commented on Jul 12, 2023

    @graingert
    MemberAuthor

    It looks like there's a fix available pallets/click#2562 just waiting on review and release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions