Black
- Configuration files using TOML features higher than spec v0.5.0 are now supported
(#2301) - Add primer support and test for code piped into black via STDIN (#2315)
- Fix internal error when
FORCE_OPTIONAL_PARENTHESES
feature is enabled (#2332) - Accept empty stdin (#2346)
- Provide a more useful error when parsing fails during AST safety checks (#2304)
Docker
- Add new
latest_release
tag automation to follow latest black release on docker
images (#2374)
Integrations
- 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)