I have the following Projects
folder structure:
and the file Tasks/Scripts/test.py
(shown below) attaches util.py
from Libs/PyLibs
:
The file test.py
executes fine without any issue, but I cannot get rid of the import warning (I am using latest neovim with lsp/mason/null-ls plugins). Similar issues were reported here and here, but none of the methods suggested there, for example putting a pyrightconfig.json
or pyproject.toml
file in the project root with appropriate config settings, is working for me, maybe because I have a somewhat more complex folder structure.
Any help is greatly appreciated. Thanks!