Pipeline of functions - reformat shorcut

Dear Community,

I cannot find in PyCharm specific setting for automatic reformatting the code to be like the following snippet:

result = (df
    .process(something)
    .process2(something)
)

By default PyCharm 2018.01 reformats it to

result = (df
    .process(something)
    .process2(something)
)

when CTRL+ALT+L.

What shoud I do?  Thanks in advance!

0

Please sign in to leave a comment.