I created a git repository then I put my python code in the "./src" directory but I opened PyCham project in './'.
1. The PyCharm show me a horrible alerts about "Unresolved references inspection". I solved this adding "src.pkg" but if I run in my terminal it crash or if I use in other project it crash because I only use the pkg directory something like "pkg.html.tag.get.open_tags".
I need to keep the imports with the pkg path, this is the screenshot with an example file trying to import the pkg package.
2. I though about suppress the inspector but I have the second problem, the auto-complete fails.
3. This is my first __init__.py inside of pkg folder.
4. This is a screenshot in my terminal running from my home directory the example.py inside in a bit sub-folders and work successful if I keep the imports with 'pkg' vs 'src.pkg'.