Code inspection and case-sensitivity

I have a large module foo/bar.py that grew too large, so (many years ago now) this was re-factored.  In what seemed like a good idea at the time, I moved all the low level stuff into a sub-module with the same name but capitalised:
foo/bar.py
foo/Bar/__init__.py
foo/Bar/query.py
foo/Bar/response.py

Deployment environment is Solaris/Linux so this all works fine.   However PyCharm running on MacOSX (workspace NFS-mounted from a NetApp) is very confused by this and seems to be treating these foo/bar and foo/Bar as the same module, so anything I use from foo.bar comes up as unknown:   tooltip for foo.bar.frotz() says "Cannot find reference 'frotz' in '__init__.py'"

Is there a way to tell PyCharm that these should be case-sensitive?

Please sign in to leave a comment.