types-PySide icon indicating copy to clipboard operation
types-PySide copied to clipboard

Can't use these stubs in vscode, mypy has a number of errors

Open KieranOwenShepherd opened this issue 1 year ago • 0 comments

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)

KieranOwenShepherd avatar Jun 14 '23 01:06 KieranOwenShepherd