Skip to content

Commit 9a2c6ef

Browse files
committed
Formatting does not enforce prefix ordering for static imports.
1 parent 099f620 commit 9a2c6ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

espresso/mx.espresso/import_order.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,9 @@ def verify_order(path, prefix_order):
6464

6565
for prefix in prefix_order:
6666
if prefix:
67-
# If prefix is "abc", add "import static abc"
68-
static_prefixes.append(STATIC_PREFIX + prefix + '.')
6967
# If prefix is "abc", add "import abc"
7068
regular_prefixes.append(REGULAR_PREFIX + prefix + '.')
69+
# Eclipse formatting does not enforce prefix order for static imports.
7170
else:
7271
# Empty prefix means everything will match.
7372
# Empty prefix is added manually below.

0 commit comments

Comments
 (0)