Files
openide/python/testData/formatter/fromImportTrailingCommaWithParentheses_after.py
Mikhail Golubev c0880210ab PY-20633 Wrap only multiline "from" imports in parentheses
Effectively, I've removed "Always" variant of "Force parentheses" option.
It doesn't seem that people ever need to wrap one line "from" imports in
parentheses, so there is no point in making code style settings more
complicated. We can return combo box with "Always" variant later
if someone specifically asks for it.
2017-01-23 17:41:20 +03:00

26 lines
522 B
Python

from module import foo
from module import foo, bar
from module import foo, bar,
# | margin
from module import (foo, bar,
baz, )
from module import (foo,
bar, )
from module import (foo,
bar, )
from module import (foo,
bar, # comment
)
from module import (foo,
bar, )
from module import (foo,
bar, )
from module import (
foo,
bar, # comment
)