Details
Description
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
Attachments
Issue Links
- 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 |