Add type annotations

Bug #1876591 reported by Brian Rutledge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pkginfo
Triaged
Wishlist
Unassigned

Bug Description

I've been working on adding type annotations to Twine (https://github.com/pypa/twine/issues/231), and pkginfo is one of our imports that's missing type hints/stubs. Is there any interest in adding those, either in the source or to https://github.com/python/typeshed?

See also: https://mypy.readthedocs.io/en/stable/existing_code.html

Revision history for this message
Tres Seaver (tseaver) wrote :

I'd be willing to review / merge such a branch and make a release. Due to time commitments, I'm not eager at this point to put in the work involved to drop Python2 support, so please keep that in mind if you are preparing such a branch.

Tres Seaver (tseaver)
Changed in pkginfo:
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers