black v18.4.a3 Release Notes
-
โ added a "cache"; files already reformatted that haven't changed on disk won't be reformatted again (#109)
--check
and--diff
are no longer mutually exclusive (#149)๐ generalized star expression handling, including double stars; this fixes multiplication making expressions "unsafe" for trailing commas (#132)
Black no longer enforces putting empty lines behind control flow statements (#90)
Black now splits imports like "Mode 3 + trailing comma" of isort (#127)
๐ fixed comment indentation when a standalone comment closes a block (#16, #32)
๐ fixed standalone comments receiving extra empty lines if immediately preceding a class, def, or decorator (#56, #154)
๐ fixed
--diff
not showing entire path (#130)๐ fixed parsing of complex expressions after star and double stars in function calls (#2)
๐ fixed invalid splitting on comma in lambda arguments (#133)
๐ fixed missing splits of ternary expressions (#141)