[PyQt] Help with PEP 484 Type Hint Stub Files

Phil Thompson phil at riverbankcomputing.com
Sat Jan 30 17:59:13 GMT 2016


PEP 484 defines standards for adding type information for arguments, result and attributes using annotations and comments. The type information can be stored in stub files for extension modules. The current SIP snapshot will generate stub files automatically from the current PyQt4 snapshot.

However, I'm having trouble testing all this. Can anybody recommend a tool that has reasonable support for PEP 484 stub files? PyCharm? pytype? mypy?

Thanks,
Phil


More information about the PyQt mailing list