Title: Bump black from 24.3.0 to 25.1.0 by dependabot[bot] · Pull Request #96 · pythonpe/python.pe · GitHub
Open Graph Title: Bump black from 24.3.0 to 25.1.0 by dependabot[bot] · Pull Request #96 · pythonpe/python.pe
X Title: Bump black from 24.3.0 to 25.1.0 by dependabot[bot] · Pull Request #96 · pythonpe/python.pe
Description: Bumps black from 24.3.0 to 25.1.0.
Release notes
Sourced from black's releases.
25.1.0
Highlights
This release introduces the new 2025 stable style (#4558), stabilizing
the following changes:
Normalize casing of Unicode escape characters in strings to lowercase (#2916)
Fix inconsistencies in whether certain strings are detected as docstrings (#4095)
Consistently add trailing commas to typed function parameters (#4164)
Remove redundant parentheses in if guards for case blocks (#4214)
Add parentheses to if clauses in case blocks when the line is too long (#4269)
Whitespace before # fmt: skip comments is no longer normalized (#4146)
Fix line length computation for certain expressions that involve the power operator (#4154)
Check if there is a newline before the terminating quotes of a docstring (#4185)
Fix type annotation spacing between * and more complex type variable tuple (#4440)
The following changes were not in any previous release:
Remove parentheses around sole list items (#4312)
Generic function definitions are now formatted more elegantly: parameters are
split over multiple lines first instead of type parameter definitions (#4553)
Stable style
Fix formatting cells in IPython notebooks with magic methods and starting or trailing
empty lines (#4484)
Fix crash when formatting with statements containing tuple generators/unpacking
(#4538)
Preview style
Fix/remove string merging changing f-string quotes on f-strings with internal quotes
(#4498)
Collapse multiple empty lines after an import into one (#4489)
Prevent string_processing and wrap_long_dict_values_in_parens from removing
parentheses around long dictionary values (#4377)
Move wrap_long_dict_values_in_parens from the unstable to preview style (#4561)
Packaging
Store license identifier inside the License-Expression metadata field, see
PEP 639. (#4479)
Performance
Speed up the is_fstring_start function in Black's tokenizer (#4541)
Integrations
If using stdin with --stdin-filename set to a force excluded path, stdin won't be
... (truncated)
Changelog
Sourced from black's changelog.
25.1.0
Highlights
This release introduces the new 2025 stable style (#4558), stabilizing the following
changes:
Normalize casing of Unicode escape characters in strings to lowercase (#2916)
Fix inconsistencies in whether certain strings are detected as docstrings (#4095)
Consistently add trailing commas to typed function parameters (#4164)
Remove redundant parentheses in if guards for case blocks (#4214)
Add parentheses to if clauses in case blocks when the line is too long (#4269)
Whitespace before # fmt: skip comments is no longer normalized (#4146)
Fix line length computation for certain expressions that involve the power operator
(#4154)
Check if there is a newline before the terminating quotes of a docstring (#4185)
Fix type annotation spacing between * and more complex type variable tuple (#4440)
The following changes were not in any previous release:
Remove parentheses around sole list items (#4312)
Generic function definitions are now formatted more elegantly: parameters are split
over multiple lines first instead of type parameter definitions (#4553)
Stable style
Fix formatting cells in IPython notebooks with magic methods and starting or trailing
empty lines (#4484)
Fix crash when formatting with statements containing tuple generators/unpacking
(#4538)
Preview style
Fix/remove string merging changing f-string quotes on f-strings with internal quotes
(#4498)
Collapse multiple empty lines after an import into one (#4489)
Prevent string_processing and wrap_long_dict_values_in_parens from removing
parentheses around long dictionary values (#4377)
Move wrap_long_dict_values_in_parens from the unstable to preview style (#4561)
Packaging
Store license identifier inside the License-Expression metadata field, see
PEP 639. (#4479)
Performance
Speed up the is_fstring_start function in Black's tokenizer (#4541)
Integrations
... (truncated)
Commits
8a737e7 Prepare release 25.1.0 (#4563)
d330dee docs: We're not going to use backslashes for the with statement (#4564)
3d81290 Move wrap_long_dict_values_in_parens to the preview style (#4561)
459562c Improve function declaration wrapping when it contains generic type definitio...
99dbf30 Cache executor to avoid hitting open file limits (#4560)
c0b92f3 Prepare the 2025 stable style (#4558)
e58baf1 Add test for #1187 (#4559)
1455ae4 Fix docs CI (#4555)
584d033 fix: Don't remove parenthesis around long dictionary values (#4377)
6e96540 Fix CI (#4551)
Additional commits viewable in compare view
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
Open Graph Description: Bumps black from 24.3.0 to 25.1.0. Release notes Sourced from black's releases. 25.1.0 Highlights This release introduces the new 2025 stable style (#4558), stabilizing the following changes:...
X Description: Bumps black from 24.3.0 to 25.1.0. Release notes Sourced from black's releases. 25.1.0 Highlights This release introduces the new 2025 stable style (#4558), stabilizing the following chan...
Opengraph URL: https://github.com/pythonpe/python.pe/pull/96
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7c97b1d7-db40-1b12-117e-802df93efcfc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D8A2:70CA9:B7333F:ECDA5A:6B09435D |
| html-safe-nonce | 711d1287d27bf5bc4eb7392e81e958b5704c2503003c231c0e394ee952198543 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEEyOjcwQ0E5OkI3MzMzRjpFQ0RBNUE6NkIwOTQzNUQiLCJ2aXNpdG9yX2lkIjoiNzY3Nzg3MjA2MjQwMTkxMzI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3ab90a08292ba478e391e5a25e513b297d3c0ad6b548d544adafe411eb196f02 |
| hovercard-subject-tag | pull_request:2732797449 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/pythonpe/python.pe/pull/96/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps black from 24.3.0 to 25.1.0. Release notes Sourced from black's releases. 25.1.0 Highlights This release introduces the new 2025 stable style (#4558), stabilizing the following changes:... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | da7e7304a38b6bc6a1ec0a7970f219ae1c71491302599b3c42088762d8889d94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/pythonpe/python.pe git https://github.com/pythonpe/python.pe.git |
| octolytics-dimension-user_id | 1152221 |
| octolytics-dimension-user_login | pythonpe |
| octolytics-dimension-repository_id | 2648258 |
| octolytics-dimension-repository_nwo | pythonpe/python.pe |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2648258 |
| octolytics-dimension-repository_network_root_nwo | pythonpe/python.pe |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3cb927d1757a02e619a0eb62b036233d6d9cdc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width