mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
Both packages/module names and names of individual imported symbols in "from" imports are sorted case-insensitively if it's enabled. To keep things simple I decided not to replicate the exact scheme used by isort to order names in "from" imports where they have different priority depending on whether they are ALL_CAPS or CamelCased (check the issue for related discussion).
12 lines
302 B
Python
12 lines
302 B
Python
import mod_a
|
|
import mod_Z
|
|
# noinspection PyUnresolvedReferences
|
|
import pkg.pkg_a
|
|
# noinspection PyUnresolvedReferences
|
|
import pkg.pkg_Z
|
|
from mod import var_a
|
|
from mod import var_Z
|
|
from pkg.pkg_a import mod1
|
|
from pkg.pkg_Z import mod2
|
|
|
|
print(mod_a, mod_Z, pkg.pkg_a, pkg.pkg_Z, mod1, mod2, var_a, var_Z) |