Closed Karel-Kroeze closed 2 years ago
Thank you for reporting this bug (next time please open it in github.com/paulober/Pico-W-Stub).
I also had errors in the linting concerning basic things. So after some searching it seems like the problem is in the builtin stubs. So i grabt the official ones from python/typeshed which should also be the one make this linting work when no custom settings were made. Expect PR with fix soon...
Ok i think the "About" is renamed in the german translation to "Info". I'll correct this in the template...
thank you for the quick fix!
and apologies for reporting in the wrong repository, I was already at the end of a rather long rabbit hole digging into pylance when I reported this. I'm sure I already missed multiple giant notices, but perhaps an extra mention in the bug template that bugs related to the stubs should be reported in the stubs repo might help others avoid my mistake 😄 .
No problem and glad to here that it fixes your issue.
It should have a mention, when you try to create a new issue, but maybe i have to describe it a bit more detailed, sorry for that...
What are the steps to reproduce this issue?
while max_wait > 0:
)What happens?
What were you expecting to happen?
no errors
Any other comments?
The stubs packaged with the vanilla Pico-Go extension seem to include more files, and do not exhibit this problem. Removing the typeshed line from the generated pylance settings also removes the operator errors (but of course now complains about micropython imports).
Support info
Copy this from the
Help -> Info -> Copy
option in Visual Studio Code:There is no 'Info' option under Help, this is the output from 'About'