Bumpsblack from 22.3.0 to 25.9.0.
Release notes
Sourced fromblack's releases.
25.9.0
Highlights
- Remove support for pre-python 3.7
await/async as soft keywords/variable names(#4676)
Stable style
- Fix crash while formatting a long
del statement containing tuples (#4628) - Fix crash while formatting expressions using the walrus operator in complex
withstatements (#4630) - Handle
# fmt: skip followed by a comment at the end of file (#4635) - Fix crash when a tuple appears in the
as clause of awith statement (#4634) - Fix crash when tuple is used as a context manager inside a
with statement (#4646) - Fix crash when formatting a
\ followed by a\r followed by a comment (#4663) - Fix crash on a
\\r\n (#4673) - Fix crash on
await ... (where... is a literalEllipsis) (#4676) - Fix crash on parenthesized expression inside a type parameter bound (#4684)
- Fix crash when using line ranges excluding indented single line decorated items(#4670)
Preview style
- Fix a bug where one-liner functions/conditionals marked with
# fmt: skip would stillbe formatted (#4552) - Improve
multiline_string_handling with ternaries and dictionaries (#4657) - Fix a bug where
string_processing would not split f-strings directly afterexpressions (#4680) - Wrap the
in clause of comprehensions across lines if necessary (#4699) - Remove parentheses around multiple exception types in
except andexcept* withoutas. (#4720) - Add
\r style newlines to the potential newlines to normalize file newlines both fromand to (#4710)
Parser
- Rewrite tokenizer to improve performance and compliance (#4536)
- Fix bug where certain unusual expressions (e.g., lambdas) were not accepted in typeparameter bounds and defaults. (#4602)
Performance
- Avoid using an extra process when running with only one worker (#4734)
Integrations
- Fix the version check in the vim file to reject Python 3.8 (#4567)
- Enhance GitHub Action
psf/black to read Black version from an additional section inpyproject.toml:[project.dependency-groups] (#4606) - Build gallery docker image with python3-slim and reduce image size (#4686)
... (truncated)
Changelog
Sourced fromblack's changelog.
25.9.0
Highlights
- Remove support for pre-python 3.7
await/async as soft keywords/variable names(#4676)
Stable style
- Fix crash while formatting a long
del statement containing tuples (#4628) - Fix crash while formatting expressions using the walrus operator in complex
withstatements (#4630) - Handle
# fmt: skip followed by a comment at the end of file (#4635) - Fix crash when a tuple appears in the
as clause of awith statement (#4634) - Fix crash when tuple is used as a context manager inside a
with statement (#4646) - Fix crash when formatting a
\ followed by a\r followed by a comment (#4663) - Fix crash on a
\\r\n (#4673) - Fix crash on
await ... (where... is a literalEllipsis) (#4676) - Fix crash on parenthesized expression inside a type parameter bound (#4684)
- Fix crash when using line ranges excluding indented single line decorated items(#4670)
Preview style
- Fix a bug where one-liner functions/conditionals marked with
# fmt: skip would stillbe formatted (#4552) - Improve
multiline_string_handling with ternaries and dictionaries (#4657) - Fix a bug where
string_processing would not split f-strings directly afterexpressions (#4680) - Wrap the
in clause of comprehensions across lines if necessary (#4699) - Remove parentheses around multiple exception types in
except andexcept* withoutas. (#4720) - Add
\r style newlines to the potential newlines to normalize file newlines both fromand to (#4710)
Parser
- Rewrite tokenizer to improve performance and compliance (#4536)
- Fix bug where certain unusual expressions (e.g., lambdas) were not accepted in typeparameter bounds and defaults. (#4602)
Performance
- Avoid using an extra process when running with only one worker (#4734)
Integrations
- Fix the version check in the vim file to reject Python 3.8 (#4567)
- Enhance GitHub Action
psf/black to read Black version from an additional section inpyproject.toml:[project.dependency-groups] (#4606)
... (truncated)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting@dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumpsblack from 22.3.0 to 25.9.0.
Release notes
Sourced fromblack's releases.
... (truncated)
Changelog
Sourced fromblack's changelog.
... (truncated)
Commits
af0ba72Prepare docs for release 25.9.0 (#4751)ffc01a0Fix schema generation error caused by new click version (#4750)626b32fAdd normalizing for\rstyle newlines (#4710)57a4612Fix mypy type issue (#4745)4f6ad7cWrap theinclause of comprehensions across lines if necessary (#4699)24f5169ci: Run diff-shades on unstable instead of preview (#4741)4d55e60Bump actions/setup-python from 5 to 6 (#4744)0cf39efImprove the performance of get_string_prefix (#4742)1f779deFix line ranges decorator edge case (#4670)203fd6bOptimize Line string method (#4739)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)