How to set a root directory for PyRight?

Viewed 5777

I have a Python project in VSCode. Its structure

root
+-- docs
+-- some_other_folder
+-- src
    +-- app
    |   +-- main.py
    +-- tests
        +-- conftest.py    

conftest.py has import

from app.main import app

My task is to set src as root folder because in otherwise I got a warning Import 'app.main' could not be resolved

1 Answers
Related