PyQt6 stubs

Phil Thompson phil at riverbankcomputing.com
Tue Aug 2 09:42:48 BST 2022


On 01/08/2022 23:45, Philippe Fremy wrote:
> Hi Kristof,
> 
> I am part of the effort for creating high quality stubs for all PyQt 
> variants.
> 
> You are correct that the default stubs provided with PyQt6 are not
> suitable for typechecking with mypy. They are provided mostly for
> type-completion.

No, they are supposed to be complete and correct.

> As you found out, we have a work-in-progress project for PyQt6-stubs.
> Like many open source projects, it progresses with volonteers
> availability and recently, progress has been low on this one. I intend
> to change that during August.

As I have said before I would prefer to receive bug reports so that the 
root causes can be fixed to the benefit of all SIP projects. As I don't 
use mypy myself then those bug reports would need to patiently explain 
what changes are needed and why.

Phil


More information about the PyQt mailing list