black v18.3.a2 Release Notes
-
๐ changed positioning of binary operators to occur at beginning of lines instead of at the end, following a recent change to PEP 8 (#21)
ignore empty bracket pairs while splitting. This avoids very weirdly looking formattings (#34, #35)
โ remove a trailing comma if there is a single argument to a call
if top level functions were separated by a comment, don't put four empty lines after the upper function
๐ fixed unstable formatting of newlines with imports
๐ fixed unintentional folding of post scriptum standalone comments into last statement if it was a simple statement (#18, #28)
๐ fixed missing space in numpy-style array indexing (#33)
๐ fixed spurious space after star-based unary expressions (#31)