indentation on multiline expressions
This seems wrong but I can't figure out if it's a bug or there's some editor setting I toggled that makes it this way. Here's a bit of code, formatted the way pycharm seems to want to format it.
def test_foo(self): results = foo() self.assertEqual({'scheduledTime': self.scheduledTime * 1000}, results)
I expected either twelve spaces (one indentation level more than the current line, or maybe "continuation indent" if that's your thing), or for "results" to be at column 26, so the second parameter begins in the same column as the first one. I certainly didn't want "results" to be way the heck over there.
Please sign in to leave a comment.
Hello Kevin,
This is a bug. Please file a YouTrack issue.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"