Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mypy failing due to click 8.1.4 #7988

Closed
graingert opened this issue Jul 12, 2023 · 1 comment · Fixed by #7989
Closed

mypy failing due to click 8.1.4 #7988

graingert opened this issue Jul 12, 2023 · 1 comment · Fixed by #7989

Comments

@graingert
Copy link
Member

graingert commented Jul 12, 2023

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]
@graingert
Copy link
Member Author

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant