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
Yes, I agree with you. I will improve automatic parentheses handing, that will improve what's happening in this case, as well as other places currently auto-managed (if, elif, while, and so on). Then I can add it to assignments and dictionary values, too. Currently I admit it's a bit clumsy for most obvious examples (e.g. when there is just a single delimiter like the equals sign you're referring to.).
As for unpacking multiple brackets to separate indentation level, Black will continue doing this. I don't like multiple unrelated brackets shoved together to save a line.
Don't wrap multiline asserts into bracers if one part fits into one line and another already in brackets.
after black
Can't we have same formatting for asserts as we have for assignments?
The text was updated successfully, but these errors were encountered: