B
B
bodrich2021-05-25 16:44:41
PyCharm
bodrich, 2021-05-25 16:44:41

Is it possible to set auto import in PyCharm to wrap it in parentheses?

By default, pycharm does this:

from M import a, b, c, \
e,d,f

And I would like
from M import (
a,
b,
c,
e,
d,
f,
)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
javedimka, 2021-05-25
@bodrich

settings -> editor -> code style -> python -> wrapping and braces -> "from" import statements -> Force parentheses if
multiline

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question