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
Hi,
We just started integrating the 2.0 release into our codebase, and hit one issue. The
crochet.mypyplugin 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:BTW the release looks great. Many thanks.
EDIT: these are using
crochet.wait_for, which I now see the plugin doesn't support