Open mikelambert opened 7 years ago
Oh, and I have tried sticking "."
into my extra_paths
, to no avail.
I can confirm I have the same issue; although I'm using a slightly different syntax:
from .other_file import OtherObject
in the same directory, other_file.py is present, and OtherObject is within it. I too can confirm, adding the directory to "extra paths" doesn't help either.
Same issue here
Anaconda 2.2.29
same here :(!
Expected Behaviour
Given a
module.py
in the current directory, I expect this to pass whenvalidate_imports
is true:Actual Behaviour
It highlights the above line, saying:
can't import . module
.Steps to Reproduce
Create
module.py
(can be empty) Createtest.py
containingfrom . import module
.ST3, Anaconda and OS versions
ST3 Stable Build 3126 Anaconda 2.1.21 Mac OS X 10.12.6 Python (built-in, not overridden in my sublime-project)
ST3 Console Logs
(nothing)
Anaconda's JsonServer Logs