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)
Integrations
- ๐ The vim plugin now searches upwards from the directory containing the current buffer instead of the current working directory for pyproject.toml. (#1871)
Integrations
- ๐ 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)
- ๐ Fix failure caused by