зеркало из https://github.com/microsoft/lisa.git
Fix mypy paths in vscode
.env is loaded by vs pylinting tools. setting is loaded by integrated terminals.
This commit is contained in:
Родитель
a5268694be
Коммит
4edb6ed6ac
|
@ -0,0 +1 @@
|
||||||
|
MYPYPATH=./typings
|
|
@ -49,6 +49,9 @@ Make sure below settings are in root level of `.vscode/settings.json`.
|
||||||
"python.analysis.useLibraryCodeForTypes": false,
|
"python.analysis.useLibraryCodeForTypes": false,
|
||||||
"python.analysis.autoImportCompletions": false,
|
"python.analysis.autoImportCompletions": false,
|
||||||
"files.eol": "\n",
|
"files.eol": "\n",
|
||||||
|
"terminal.integrated.env.windows": {
|
||||||
|
"mypypath": "${workspaceFolder}\\typings"
|
||||||
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче