[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: New release of PyQt-stubs
From: Philippe Fremy <phil () freehackers ! org>
Date: 2022-04-23 11:01:08
Message-ID: de35048d-5db0-1038-7972-d6eed61f783a () freehackers ! org
[Download RAW message or body]
Hi,
I have just released PyQt5-stubs 5.15.6.0 .
This is an enhancement of the stub files released as part of the PyQt5
packages, to support full type-checking via mypy. Improvements over the
default stubs include:
* Signals are properly typed as signals and not as methods
* QFlags derived classes correctly support all combination operations
* Many methods accepting an optional None have been annotated so
* and more...
To install them :
python -m pip install --upgrade pyqt5-stubs
Don't hesitate to report any feedback, on github or directly to me.
Cheers,
Philippe
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>I have just released PyQt5-stubs 5.15.6.0 .</p>
<p>This is an enhancement of the stub files released as part of the
PyQt5 packages, to support full type-checking via mypy.
Improvements over the default stubs include:</p>
<ul data-sourcepos="15:1-19:0" dir="auto">
<li data-sourcepos="15:1-15:58">Signals are properly typed as
signals and not as methods</li>
<li data-sourcepos="16:1-16:69">QFlags derived classes correctly
support all combination operations</li>
<li data-sourcepos="17:1-17:64">Many methods accepting an optional
None have been annotated so</li>
<li data-sourcepos="18:1-19:0">and more...</li>
</ul>
<p><br>
</p>
<p>To install them : <br>
</p>
<p>python -m pip install --upgrade pyqt5-stubs</p>
<p>Don't hesitate to report any feedback, on github or directly to
me.</p>
<p>Cheers,</p>
<p>Philippe<br>
</p>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic