24.8.0
版本发布时间: 2024-08-03 01:42:53
psf/black最新发布版本:24.8.0(2024-08-03 01:42:53)
Stable style
- Fix crash when
# fmt: off
is used before a closing parenthesis or bracket. (#4363)
Packaging
- Packaging metadata updated: docs are explictly linked, the issue tracker is now also linked. This improves the PyPI listing for Black. (#4345)
Parser
- Fix regression where Black failed to parse a multiline f-string containing another multiline string (#4339)
- Fix regression where Black failed to parse an escaped single quote inside an f-string (#4401)
- Fix bug with Black incorrectly parsing empty lines with a backslash (#4343)
- Fix bugs with Black's tokenizer not handling
\{
inside f-strings very well (#4422) - Fix incorrect line numbers in the tokenizer for certain tokens within f-strings (#4423)
Performance
- Improve performance when a large directory is listed in
.gitignore
(#4415)
Blackd
- Fix blackd (and all extras installs) for docker container (#4357)
1、 black_linux 24.21MB
2、 black_macos 9.49MB
3、 black_windows.exe 10.18MB