CI(deps): Update black to v25 (major) - #5022
Conversation
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
echoix
left a comment
There was a problem hiding this comment.
Approving and getting this merged, as it reduces the diff to switch to ruff format after this to only 27 files, being mostly assert with the condition kept on one line and the explanation string on another instead of awkwardly split, and some similar cases in if conditions.
wenzeslaus
left a comment
There was a problem hiding this comment.
I would say this is another good improvement of the style.
Black had only 5 files changed, ruff format was the rest, except for 27 files changed back by black. |
This PR contains the following updates:
24.10.0->25.1.024.10.0->25.1.0Note: The
pre-commitmanager in Renovate is not supported by thepre-commitmaintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
psf/black (black)
v25.1.0Compare Source
Highlights
This release introduces the new 2025 stable style (#4558), stabilizing
the following changes:
# fmt: skipcomments is no longer normalized (#4146)*and more complex type variable tuple (#4440)The following changes were not in any previous release:
split over multiple lines first instead of type parameter definitions (#4553)
Stable style
empty lines (#4484)
withstatements containing tuple generators/unpacking(#4538)
Preview style
(#4498)
string_processingandwrap_long_dict_values_in_parensfrom removingparentheses around long dictionary values (#4377)
wrap_long_dict_values_in_parensfrom the unstable to preview style (#4561)Packaging
License-Expressionmetadata field, seePEP 639. (#4479)
Performance
is_fstring_startfunction in Black's tokenizer (#4541)Integrations
--stdin-filenameset to a force excluded path, stdin won't beformatted. (#4539)
psf/black-pre-commit-mirror (psf/black-pre-commit-mirror)
v25.1.0Compare Source
Configuration
📅 Schedule: Branch creation - "* * * * 0,6" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.