Skip to content
New issue

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

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

Open
KieranOwenShepherd opened this issue Jun 14, 2023 · 0 comments
Open

Comments

@KieranOwenShepherd
Copy link

KieranOwenShepherd commented Jun 14, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant