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
Also, Twine can now take advantage of from __future__ import annotations, which means it can now use recent syntax like subscriptable generics and simpler union types. pyupgrade should handle most of that, as long as the __future__ import is present, which can be added with isort.
Following up on #869.
e.g., via:
Also, Twine can now take advantage of
from __future__ import annotations
, which means it can now use recent syntax like subscriptable generics and simpler union types.pyupgrade
should handle most of that, as long as the__future__
import is present, which can be added with isort.It might also be worth using
typing_extensions
to take advantage of newer typing PEPs.The text was updated successfully, but these errors were encountered: