Indent if
and else
in multiline ternary statements
#617
Labels
T: enhancement
New feature or request
if
and else
in multiline ternary statements
#617
Operating system: macOS Mojave
Python version: 3.7.0
Black version: 18.6b4
Does also happen on master: Yes
When I write a multi-line ternary statement in a dictionary, Black formats the
if
andelse
with the same indentation as the dictionary key.I expected the
if
andelse
to be more indented, like this:The text was updated successfully, but these errors were encountered: