black v21.6.b0 Release Notes

  • Black

    • ๐Ÿ›  Fix failure caused by fmt: skip and indentation (#2281)
    • Account for += assignment when deciding whether to split string (#2312)
    • Correct max string length calculation when there are string operators (#2292)
    • ๐Ÿ›  Fixed option usage when using the --code flag (#2259)
    • Do not call uvloop.install() when Black is used as a library (#2303)
    • โž• Added --required-version option to require a specific version to be running (#2300)
    • ๐Ÿ›  Fix incorrect custom breakpoint indices when string group contains fake f-strings (#2311)
    • ๐Ÿ›  Fix regression where R prefixes would be lowercased for docstrings (#2285)
    • ๐Ÿ›  Fix handling of named escapes (\N{...}) when --experimental-string-processing is used (#2319)


    • ๐Ÿ”Œ The vim plugin now searches upwards from the directory containing the current buffer instead of the current working directory for pyproject.toml. (#1871)


    • ๐Ÿ”Œ The vim plugin now reads the correct string normalization option in pyproject.toml (#1869)
    • ๐Ÿ”Œ The vim plugin no longer crashes Black when there's boolean values in pyproject.toml (#1869)