You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeshed already carries type annotations for many "legacy" Python modules. As they evolve it becomes harder and harder to keep them synchronized. This becomes a non-issue if the type annotation is already included with the upstream source code and thus the typeshed is not needed at all.
It would be cool if com2ann had a mode to merge the annotations from typeshed into the source code of the module itself.
The text was updated successfully, but these errors were encountered:
Note that this doesn’t solve all problems — type-checking the newly-annotated module will usually trigger a whole lot of errors that you’d have to fix manually.
typeshed already carries type annotations for many "legacy" Python modules. As they evolve it becomes harder and harder to keep them synchronized. This becomes a non-issue if the type annotation is already included with the upstream source code and thus the
typeshed
is not needed at all.It would be cool if
com2ann
had a mode to merge the annotations fromtypeshed
into the source code of the module itself.The text was updated successfully, but these errors were encountered: