Commit 9953ac9
authored
So while migrating to pyproject.toml fixed editable installation behavior on Ubuntu,
Pylance was still unable to figure out imports as vscode does not understand the
import script .venv/lib/python3.10/site-packages/__editable___yapf_0_40_2_finder.py
created by an editable install triggered by pip install -m venv .venv
Using https://microsoft.github.io/pyright/#/import-resolution?id=setuptools
suggestions of compat and strict mode did not resolve issues either.
So instead I revert to manually adding third_party to the python.analysis.extraPaths
setting in settings.json
1 parent d553003 commit 9953ac9
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
0 commit comments