forked from pool/python-black
b5b30e9dab257d084a9c94bb31ec72e0ea96bf5b76be797410ce311b5193a720
* Don't move comments along with delimiters, which could cause
crashes
* Strengthen AST safety check to catch more unsafe changes to
strings. Previous versions of Black would incorrectly format
the contents of certain unusual f-strings containing
nested strings with the same quote type. Now, Black will
crash on such strings until support for the new f-string syntax
is implemented.
* Fix a bug where line-ranges exceeding the last code line
would not work as expected
* Fix catastrophic performance on docstrings that contain large
numbers of leading tab characters. This fixes CVE-2024-21503.
* Note what happens when `--check` is used with `--quiet`
* Fixed a bug where comments where mistakenly removed along with
* Move the hug_parens_with_braces_and_square_brackets feature to
the unstable style due to an outstanding crash and proposed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=60
Description
No description provided
Languages
Diff
100%