intention actions to switch between absolute and relative imports (PY-37858)

GitOrigin-RevId: 8c3c1caeba64ff678c8f1dafdd0fc9a44af3873e
This commit is contained in:
Aleksei Kniazev
2019-10-02 12:03:38 +00:00
committed by intellij-monorepo-bot
parent fccb01ec87
commit adbbcef28a
41 changed files with 251 additions and 0 deletions
@@ -0,0 +1 @@
from <spot>.three</spot> import foo
@@ -0,0 +1 @@
from <spot>one.two.three</spot> import foo
@@ -0,0 +1,7 @@
<html>
<body>
<span>
This intention replaces absolute <code>from</code> import with a relative one.
</span>
</body>
</html>
@@ -0,0 +1 @@
from <spot>one.two.three</spot> import foo
@@ -0,0 +1 @@
from <spot>.three</spot> import foo
@@ -0,0 +1,7 @@
<html>
<body>
<span>
This intention replaces relative <code>from</code> import with an absolute one.
</span>
</body>
</html>