black v20.8.b0 Release Notes
Release Date: 2020-08-26 // over 3 years ago-
Black
๐ re-implemented support for explicit trailing commas: now it works consistently within any bracket pair, including nested structures (#1288 and duplicates)
๐
Black
now reindents docstrings when reindenting code around it (#1053)Black
now shows colored diffs (#1266)๐ฆ
Black
is now packaged using 'py3' tagged wheels (#1388)๐
Black
now supports Python 3.8 code, e.g. star expressions in return statements (#1121)๐
Black
no longer normalizes capital R-string prefixes as those have a community-accepted meaning (#1244)๐ง
Black
now uses exit code 2 when specified configuration file doesn't exit (#1361)Black
now works on AWS Lambda (#1141)โ added
--force-exclude
argument (#1032)โ removed deprecated
--py36
option (#1236)๐ fixed
--diff
output when EOF is encountered (#526)๐ fixed
# fmt: off
handling around decorators (#560)๐ fixed unstable formatting with some
# type: ignore
comments (#1113)๐ fixed invalid removal on organizing brackets followed by indexing (#1575)
๐ท introduced
black-primer
, a CI tool that allows us to run regression tests against existing open source users of Black (#1402)โ introduced property-based fuzzing to our test suite based on Hypothesis and Hypothersmith (#1566)
0๏ธโฃ implemented experimental and disabled by default long string rewrapping (#1132), hidden under a
--experimental-string-processing
flag while it's being worked on; this is an undocumented and unsupported feature, you lose Internet points for depending on it (#1609)
๐ Vim plugin
- ๐ฆ prefer virtualenv packages over global packages (#1383)