Take the following folder structure.
sidebar-update
__init__.py
index.py
results.py
When importing a given function in index.py
from results.py
with the statement
from results import getResultsTable
VSCode produces the following linting problem.
unresolved import 'results'Python(unresolved-import)
I take this as the linter searching solely for installed modules and ignoring local files. How can I add this functionality so that it recognizes valid import statements?