factory
Should fix python-black with sr#1359491
- Update to 26.5.1:
Stable style:
* Fix unstable formatting of annotated assignments whose subscript
annotation contains an inline comment
(e.g. x: list[ # pyright: ignore[...]) (#5130)
* Preserve inline comments (including # type: ignore) immediately
before a # fmt: skip line, avoiding AST equivalence failures
(#5139)
Packaging:
* Correct the version in the published executables (#5137)
Version 26.5.0
Highlights:
* Add support for unpacking in comprehensions (PEP 798) and for lazy
imports (PEP 810), both new syntactic features in Python 3.15
(#5048)
* Python 3.15 is now supported. Compiled wheels are not yet provided
for Python 3.15, so performance may be slower than on existing
Python versions. Wheels will be provided once Python 3.15 is later
in its release cycle. (#5127)
Stable style:
* Fix # fmt: skip being ignored in nested if expressions with
parenthesized in clauses (#4903)
* Add syntactic support for Python 3.15 (#5048)
* Fix crash when an f-string follows a # fmt: off comment inside
brackets (#5097)
* Preserve multiline compound statement headers when # fmt: skip is
placed on the colon line (#5117)
Preview style:
* Improve heuristics around whether blank lines should appear
before, within and after groups of same-name decorated functions
OBS-URL: https://build.opensuse.org/request/show/1360011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-black?expand=0&rev=39
Description
No description provided
Languages
RPM Spec
100%