-
Bug
-
Resolution: Fixed
-
P4: Low
-
None
-
5.15.0
-
None
-
MacOS (probably irrelevant) with python 3.7 and mypy 0.770
-
-
772a5f8dc9c91d696315a516015f5d887de6eda6 (pyside/pyside-setup/6.2)
This is probably related to PYSIDE-1079 (and maybe others too). I'm switching from PyQt5 to PySide2. Among other reasons because PySide seems to have better typing stubs.
Running mypy over my project I get lots of the following errors however:
Signal has no attribute connect
Signal has no attribute emit
Also, when using the Slot() decorator:
Slot not callable
- is duplicated by
-
PYSIDE-2197 Missing signals in stubs
-
- Closed
-
- is required for
-
PYSIDE-1675 Improve mypy compatibility with our python stubs (pyi)
-
- Open
-
For Gerrit Dashboard: PYSIDE-1318 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
385018,4 | mypy-support: Improve the handling of `Signal` | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
385159,2 | mypy-support: Improve the handling of `Signal` | 6.2 | pyside/pyside-setup | Status: MERGED | +2 | 0 |