3 ms·
It seems to me that type inference would be silly in this case. Type suggestion during mypy checks might be useful though. Function x does not specify a type,
by cjwoodall 7y ago
It seems to me that type inference would be silly in this case. Type suggestion during mypy checks might be useful though.
Function x does not specify a type, but returns SomeHelpfulTypeString. We recommend you use that.
Put it behind a flag and call it a day. Maybe even have a way of requesting type suggestions for functions during development