I'm running vscode from some project/ folder and getting an "unresolved import" error in some project/impl/ folder. In the impl/ folder I have 2 Python files:
# lib.py
class A():
pass
# run.py
from lib import A # vscode error here - unresolved import
...
When running run.py the Python interpreter finds the lib just fine but vscode shows an "unresolved import" error (screenshot).
If I change the import line to from .lib import implementation (note the dot), I get the opposite behaviour where vscode resolves the import fine but the Python interpreter fails.
How should I import the lib or otherwise configure vscode to resolve imports from a local folder? (obviously I don't want to add the exact path of the local folder to the vscode config file since I would have to do so for every subfolder in the project)
