We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mypy should work with PySide6.
PySide6 has incomplete stubs, so mypy wrongly flags certain things as errors.
mypy wrongly flags this as a type error.
self.btn = QPushButton("Click Me") self.btn.clicked.connect(self.btn_clicked)
error: "QPushButton" has no attribute "clicked"
This is a known issue with PySide6.
https://bugreports.qt.io/browse/PYSIDE-1675 https://bugreports.qt.io/browse/PYSIDE-1603
The text was updated successfully, but these errors were encountered:
Should be fixed in PySide version 6.4.3, according to issue assignee.
Sorry, something went wrong.
No branches or pull requests
Expected behaviour
mypy should work with PySide6.
Current behaviour
PySide6 has incomplete stubs, so mypy wrongly flags certain things as errors.
Failure information
Steps to reproduce
mypy wrongly flags this as a type error.
Context
This is a known issue with PySide6.
https://bugreports.qt.io/browse/PYSIDE-1675
https://bugreports.qt.io/browse/PYSIDE-1603
The text was updated successfully, but these errors were encountered: