I'm using PyCharm and I'm importing some constants from another python file in the same directory. The import works at runtime, but I get this annoying red underline on the import statement and also every time I use a constant from the file.
Here's the file hierarchy
(Please ignore the red underlining on the folders, they are unrelated to this)
What causes this behaviour and how can I fix it?


pca_mixtures/funcs.pydirectly, though.