PyCharm 2017.3 Indenting around parenthesis
已回答
I am trying to use the PEP 8 style guidelines (default in PyCharm 2017.3). I encounter a warning with the as you suggested in the course. Two screen captures without and without lightbulb.


If I try to auto-indent or reformat the code nothing happens. If I manually realign the code the warning goes away.

This to me implies that there is a setting that is telling PyCharm that this is the preferred indentation. However, if I reformat the code again it goes back to the original position as shown in the first screen capture. I have tried numerous settings in PyCharms Project Code Style but I can't seem to find the right one. I have attached my Code Style XML file in the off chance you want to take a look.
Thanks for your help in advance.
Bob
请先登录再写评论。
Hi Bob! I believe this is a bug in PyCharm formatter and it should be already fixed with PY-27266 in 2017.3.3 version. Could you please check it?