mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
PY-10719 Fix add import above import with noinspection comment
GitOrigin-RevId: 6dd79b10e56b9e9e2eee76c83d5974dee43446a1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f1a515b268
commit
b7398bb63d
+10
@@ -0,0 +1,10 @@
|
||||
# comment 1
|
||||
|
||||
# comment 2
|
||||
|
||||
# comment 3
|
||||
# comment 4
|
||||
import b
|
||||
|
||||
print(b)
|
||||
<error descr="Unresolved reference 'a'"><caret>a</error>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
# comment 1
|
||||
import a
|
||||
# comment 2
|
||||
|
||||
# comment 3
|
||||
# comment 4
|
||||
import b
|
||||
|
||||
print(b)
|
||||
a
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
#noinspection PyUnresolvedReferences
|
||||
from b import no_so
|
||||
|
||||
|
||||
<error descr="Unresolved reference 'a'"><caret>a</error>
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import a
|
||||
#noinspection PyUnresolvedReferences
|
||||
from b import no_so
|
||||
|
||||
|
||||
a
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
#file related comment
|
||||
#second file related comment
|
||||
import b
|
||||
|
||||
|
||||
print(b)
|
||||
<error descr="Unresolved reference 'a'"><caret>a</error>
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
#file related comment
|
||||
#second file related comment
|
||||
import a
|
||||
import b
|
||||
|
||||
|
||||
print(b)
|
||||
a
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
# comment 1
|
||||
# noinspection PyUnresolvedReferences
|
||||
import b
|
||||
|
||||
print(b)
|
||||
<error descr="Unresolved reference 'a'"><caret>a</error>
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
# comment 1
|
||||
import a
|
||||
# noinspection PyUnresolvedReferences
|
||||
import b
|
||||
|
||||
print(b)
|
||||
a
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
|
||||
# some comment #
|
||||
################
|
||||
|
||||
print(<error descr="Unresolved reference 'a'"><caret>a</error>)
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import a
|
||||
|
||||
# some comment #
|
||||
################
|
||||
|
||||
print(a)
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
# comment 1
|
||||
|
||||
# comment 2
|
||||
|
||||
pass
|
||||
|
||||
<error descr="Unresolved reference 'a'"><caret>a</error>
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
# comment 1
|
||||
import a
|
||||
|
||||
# comment 2
|
||||
|
||||
pass
|
||||
|
||||
a
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
#noinspection PyUnresolvedReferences
|
||||
print(no_so)
|
||||
<error descr="Unresolved reference 'a'"><caret>a</error>
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import a
|
||||
|
||||
#noinspection PyUnresolvedReferences
|
||||
print(no_so)
|
||||
a
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
# some comment #
|
||||
################
|
||||
|
||||
print(<error descr="Unresolved reference 'a'"><caret>a</error>)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
# some comment #
|
||||
################
|
||||
import a
|
||||
|
||||
print(a)
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
import a
|
||||
# comment 1
|
||||
|
||||
# comment 2
|
||||
# comment 3
|
||||
import c
|
||||
|
||||
print(a, c)
|
||||
<error descr="Unresolved reference 'b'"><caret>b</error>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import a
|
||||
import b
|
||||
# comment 1
|
||||
|
||||
# comment 2
|
||||
# comment 3
|
||||
import c
|
||||
|
||||
print(a, c)
|
||||
b
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
import a
|
||||
#noinspection PyUnresolvedReferences
|
||||
from c import no_so
|
||||
|
||||
|
||||
print(a)
|
||||
<error descr="Unresolved reference 'b'"><caret>b</error>
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
import a
|
||||
import b
|
||||
#noinspection PyUnresolvedReferences
|
||||
from c import no_so
|
||||
|
||||
|
||||
print(a)
|
||||
b
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import argparse
|
||||
|
||||
# some comment #
|
||||
################
|
||||
|
||||
print(argparse, <error descr="Unresolved reference 'a'"><caret>a</error>)
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
import argparse
|
||||
|
||||
import a
|
||||
|
||||
# some comment #
|
||||
################
|
||||
|
||||
print(argparse, a)
|
||||
Reference in New Issue
Block a user