Vscode howto #357
-
Hi, I have a hard time figuring out how i can tell vscode to use the repo instead of the shipped typeshed "python.autoComplete.extraPaths": [],
"python.languageServer": "Pylance",
"python.analysis.extraPaths": [
// ??? "/Users/gert/pandas-stubs/pandas-stubs/pandas-stubs"
],
"python.analysis.typeshedPaths": [
// ??? "/Users/gert/pandas-stubs"
],
"python.analysis.stubPath": "typings",
// ??? "python.analysis.stubPath": "/Users/gert/pandas-stubs/pandas-stubs/pandas-stubs", Also is the readme still accurate? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I believe VSCode gets its stub from here https://github.com/microsoft/python-type-stubs/#upstreamed-libraries where they previously had their own pandas-stubs - but they should now be using the stubs from here. I don't use VScode, but I expect that you might need to update VSCode so that it automatically includes the stubs from here.
No, it isn't. You can installed the pypi version with |
Beta Was this translation helpful? Give feedback.
I believe VSCode gets its stub from here https://github.com/microsoft/python-type-stubs/#upstreamed-libraries where they previously had their own pandas-stubs - but they should now be using the stubs from here. I don't use VScode, but I expect that you might need to update VSCode so that it automatically includes the stubs from here.
No, it isn't. You can installed the pypi version with
pip install pandas-stubs