types-PySide
types-PySide copied to clipboard
Can't use these stubs in vscode, mypy has a number of errors
When I tried to use these stubs in vscode they didn't work, then checking the Output window (under python) I discovered a number of errors like this:
/stubs/PySide2-stubs/QtCore.pyi:377:5: error: Signature of "columnCount" incompatible with supertype "QAbstractItemModel"
I'm guessing vscode does a pass with mypy.stubtest first and doesn't use them unless it passes. (That's just a guess, I haven't gone to the trouble of testing this myself yet)