You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The if and else on the same indentation level as the keys looks very odd and hard to parse at a glance to me. Moving it up one level and possibly adding parens makes it easier to read/prettier to me.
Operating system: mac OS 10.13.4 (High Sierra)
Python version: 3.6.5
Black version: 1445bea
Does also happen on master: Yes
Given this input:
Black gives me:
The
if
andelse
on the same indentation level as the keys looks very odd and hard to parse at a glance to me. Moving it up one level and possibly adding parens makes it easier to read/prettier to me.Of course this is not the only solution and maybe others think the current code is okay. Just my 2 cents.
The text was updated successfully, but these errors were encountered: