black v18.3.a4 Release Notes

    • # fmt: off and # fmt: on are implemented (#5)

    • 🗄 automatic detection of deprecated Python 2 forms of print statements and exec statements in the formatted file (#49)

    • 0️⃣ use proper spaces for complex expressions in default values of typed function arguments (#60)

    • only return exit code 1 when --check is used (#50)

    • 🚚 don't remove single trailing commas from square bracket indexing (#59)

    • don't omit whitespace if the previous factor leaf wasn't a math operator (#55)

    • omit extra space in kwarg unpacking if it's the first argument (#46)

    • omit extra space in Sphinx auto-attribute comments (#68)