-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hi,
We just started integrating the 2.0 release into our codebase, and hit one issue. The crochet.mypy plugin is not checking if the function return value is a coroutine, it only propagates the return types exactly as is. So we're getting a lot of:
"Coroutine[Any, Any, List[Dict[str, Any]]]" has no attribute "__iter__" (not iterable)
...BTW the release looks great. Many thanks.
EDIT: these are using crochet.wait_for, which I now see the plugin doesn't support
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels