Details
Description
Line 5858 has syntax errors according to mypy and Python 3.12 where the type is given as an ellipsis. I guess the colon should be an equals-sign.
class QOperatingSystemVersion(PySide6.QtCore.QOperatingSystemVersionBase): Android10 : ... # type: QOperatingSystemVersion
The same issue concerns QColorConstants in QtGui.pyi, and other classes.
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2658 mypy error after upgrading PySide6 to version 6.6.3
- Closed
- resulted from
-
PYSIDE-2263 QColorConstants type hints are incomplete
- Closed
For Gerrit Dashboard: PYSIDE-2653 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
551585,2 | pyi: Fix syntax error in class attributes | 6.7 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
551593,2 | pyi: Fix syntax error in class attributes | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
551687,2 | pyi: Fix syntax error in class attributes | 6.6 | pyside/pyside-setup | Status: MERGED | -1 | 0 |
551717,2 | pyi: Fix syntax error in class attributes | tqtc/lts-6.5 | pyside/tqtc-pyside-setup | Status: MERGED | -1 | 0 |
551750,5 | pyi: Fix syntax error in class attributes | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | -1 | 0 |
551812,3 | pyi: Fix syntax error in class attributes | 6.6.3.1 | pyside/pyside-setup | Status: MERGED | -1 | 0 |
552073,2 | pyi: Fix syntax error in class attributes | tqtc/6.6.3.1 | pyside/tqtc-pyside-setup | Status: MERGED | -1 | 0 |