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)