warner / foolscap

remote object-messaging for Python+Twisted
http://foolscap.lothar.com/trac
MIT License
52 stars 40 forks source link

[feature] Provide type stubs #79

Open jaraco opened 3 years ago

jaraco commented 3 years ago

Downstream projects, including Tahoe-LAFS, are adopting mypy for static type checking and currently must suppress failing typechecks that on foolscap types like IRemoteReference. If foolscap were to provide these stubs or type hints and declare itself as a typed library, that would enhance the ability of consumers to provide type checks on foolscap-derived objects.