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

GitOrigin-RevId: 8c3c1caeba64ff678c8f1dafdd0fc9a44af3873e
This commit is contained in:
Aleksei Kniazev
2019-09-05 15:53:11 +03:00
committed by intellij-monorepo-bot
parent fccb01ec87
commit adbbcef28a
41 changed files with 251 additions and 0 deletions

View File

@@ -0,0 +1 @@
from <spot>.three</spot> import foo

View File

@@ -0,0 +1 @@
from <spot>one.two.three</spot> import foo

View File

@@ -0,0 +1,7 @@
<html>
<body>
<span>
This intention replaces absolute <code>from</code> import with a relative one.
</span>
</body>
</html>

View File

@@ -0,0 +1 @@
from <spot>one.two.three</spot> import foo

View File

@@ -0,0 +1 @@
from <spot>.three</spot> import foo

View File

@@ -0,0 +1,7 @@
<html>
<body>
<span>
This intention replaces relative <code>from</code> import with an absolute one.
</span>
</body>
</html>