python-black

Edit Package python-black
No description set
Refresh
Refresh
Source Files
Filename Size Changed
black-23.12.1.tar.gz 0000620809 606 KB
python-black.changes 0000028510 27.8 KB
python-black.spec 0000004083 3.99 KB
Revision 24 (latest revision is 28)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1136067 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 24)
- update to 23.12.1:
  * Fixed a bug that included dependencies from the `d` extra by
    default
  * This release (23.12.0) will still produce the 2023 style.
    Most but not all of the changes in `--preview` mode will be
    in the 2024 stable style.
  * Fix bug where `# fmt: off` automatically dedents when used
    with the `--line-ranges` option, even when it is not within
    the specified line range.
  * Fix feature detection for parenthesized context managers
  * Prefer more equal signs before a break when splitting chained
    assignments
  * Standalone form feed characters at the module level are no
    longer removed
  * Additional cases of immediately nested tuples, lists, and
    dictionaries are now indented less
  * Allow empty lines at the beginning of all blocks, except
    immediately before a docstring
  * Fix crash in preview mode when using a short `--line-length`
  * Keep suites consisting of only an ellipsis on their own lines
    if they are not functions or class definitions
  * `--line-ranges` now skips _Black_'s internal stability check
    in `--safe` mode. This avoids a crash on rare inputs that have
    many unformatted same-content lines.
Comments 0
openSUSE Build Service is sponsored by