Go to file
Ana Guerrero 016c9fa538 Accepting request 1142193 from devel:languages:python
- update to 24.1.0:
  * Add parentheses around `if`-`else` expressions
  * Dummy class and function implementations consisting only of
    `...` are formatted more compactly
  * If an assignment statement is too long, we now prefer
    splitting on the right-hand side
  * Hex codes in Unicode escape sequences are now standardized to
    lowercase
  * Allow empty first lines at the beginning of most blocks
  * Add parentheses around long type annotations
  * Enforce newline after module docstrings
  * Fix incorrect magic trailing comma handling in return types
  * Remove blank lines before class docstrings
  * Wrap multiple context managers in parentheses if combined in
    a single `with` statement
  * Fix bug in line length calculations for power operations
  * Add trailing commas to collection literals even if there's a
    comment after the last entry
  * When using `--skip-magic-trailing-comma` or `-C`, trailing
    commas are stripped from subscript expressions with more than
    1 element
  * Add extra blank lines in stubs in a few cases
  * Accept raw strings as docstrings
  * Split long lines in case blocks
  * Stop removing spaces from walrus operators within subscripts
  * Fix incorrect formatting of certain async statements
  * Allow combining `# fmt: skip` with other comments
  * There are already a few improvements in the `--preview`
    style, which are slated for the 2025 stable style. Try them
    out and share your feedback. In the past, the preview

OBS-URL: https://build.opensuse.org/request/show/1142193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-black?expand=0&rev=25
2024-01-29 21:26:55 +00:00
2018-08-27 10:34:38 +00:00
2024-01-29 08:53:10 +00:00
2024-01-29 08:53:10 +00:00
2024-01-29 08:53:10 +00:00
Description
No description provided
2.5 MiB
Languages
RPM Spec 100%