python-black

Edit Package python-black
No description set
Refresh
Refresh
Source Files
Filename Size Changed
black-24.3.0.tar.gz 0000634292 619 KB
python-black.changes 0000033640 32.9 KB
python-black.spec 0000004083 3.99 KB
Revision 27 (latest revision is 29)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1158808 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 27)
- update to 24.3.0:
  * 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
Comments 0
openSUSE Build Service is sponsored by