black v21.5.b2 Release Notes
-
Black
- ๐ A space is no longer inserted into empty docstrings (#2249)
- ๐ Fix handling of .gitignore files containing non-ASCII characters on Windows (#2229)
- Respect
.gitignore
files in all levels, not onlyroot/.gitignore
file (apply.gitignore
rules likegit
does) (#2225) - โช Restored compatibility with Click 8.0 on Python 3.6 when LANG=C used (#2227)
- โ Add extra uvloop install + import support if in python env (#2258)
- ๐ Fix --experimental-string-processing crash when matching parens are not found (#2283)
- ๐ Make sure to split lines that start with a string operator (#2286)
- ๐ Fix regular expression that black uses to identify f-expressions (#2287)
Blackd
- โ Add a lower bound for the
aiohttp-cors
dependency. Only 0.4.0 or higher is supported. (#2231)
Integrations
- ๐ The official Black action now supports choosing what version to use, and supports the major 3 OSes. (#1940)
Packaging
- ๐ Release self-contained x86_64 MacOS binaries as part of the GitHub release pipeline (#2198)
- ๐ Always build binaries with the latest available Python (#2260)
๐ Documentation
- โ Add discussion of magic comments to FAQ page (#2272)
- 0๏ธโฃ
--experimental-string-processing
will be enabled by default in the future (#2273) - ๐ Fix typos discovered by codespell (#2228)
- ๐ Fix Vim plugin installation instructions. (#2235)
- โ Add new Frequently Asked Questions page (#2247)
- ๐ Fix encoding + symlink issues preventing proper build on Windows (#2262)