Commit 7006f3d
committed
chore(vscode): 移除 python.defaultInterpreterPath 让自动发现接管 venv
原值 ${workspaceFolder}/.venv 指向目录而非 python.exe,Black LSP 重启时
spawn 该目录报 ENOENT。删除后由 ms-python 自动发现解析到
.venv/Scripts/python.exe (Windows) / .venv/bin/python (Unix),跨平台正确,
且消除自动发现与设置值的时序竞争。1 parent 78711a1 commit 7006f3d
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
0 commit comments