Commit c455b14
authored
Upgrade: [dependabot] - bump black from 25.11.0 to 25.12.0 (#233)
Bumps [black](https://github.com/psf/black) from 25.11.0 to 25.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/releases">black's
releases</a>.</em></p>
<blockquote>
<h2>25.12.0</h2>
<p>Please test out the draft 2026 style in version 26.1a1! This style
will be finalized in
the January release (26.1.0). Most of the changes in
<code>--preview</code> will be in the 2026
stable style, but not all.
<a href="https://redirect.github.com/psf/black/issues/4042">Please share
your feedback!</a></p>
<p>This release (25.12.0) will still produce the 2025 style.</p>
<h3>Highlights</h3>
<ul>
<li>Black no longer supports running with Python 3.9 (<a
href="https://redirect.github.com/psf/black/issues/4842">#4842</a>)</li>
</ul>
<h3>Stable style</h3>
<ul>
<li>Fix bug where comments preceding <code># fmt: off</code>/<code>#
fmt: on</code> blocks were incorrectly
removed, particularly affecting Jupytext's <code># %% [markdown]</code>
comments (<a
href="https://redirect.github.com/psf/black/issues/4845">#4845</a>)</li>
<li>Fix crash when multiple <code># fmt: skip</code> comments are used
in a multi-part if-clause, on
string literals, or on dictionary entries with long lines (<a
href="https://redirect.github.com/psf/black/issues/4872">#4872</a>)</li>
<li>Fix possible crash when <code>fmt: </code> directives aren't on the
top level (<a
href="https://redirect.github.com/psf/black/issues/4856">#4856</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Fix <code>fmt: skip</code> skipping the line after instead of the
line it's on (<a
href="https://redirect.github.com/psf/black/issues/4855">#4855</a>)</li>
<li>Remove unnecessary parentheses from the left-hand side of
assignments while preserving
magic trailing commas and intentional multiline formatting (<a
href="https://redirect.github.com/psf/black/issues/4865">#4865</a>)</li>
<li>Fix <code>fix_fmt_skip_in_one_liners</code> crashing on
<code>with</code> statements (<a
href="https://redirect.github.com/psf/black/issues/4853">#4853</a>)</li>
<li>Fix <code>fix_fmt_skip_in_one_liners</code> crashing on annotated
parameters (<a
href="https://redirect.github.com/psf/black/issues/4854">#4854</a>)</li>
<li>Fix new lines being added after imports with <code># fmt:
skip</code> on them (<a
href="https://redirect.github.com/psf/black/issues/4894">#4894</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Releases now include arm64 Windows binaries and wheels (<a
href="https://redirect.github.com/psf/black/issues/4814">#4814</a>)</li>
</ul>
<h3>Integrations</h3>
<ul>
<li>Add <code>output-file</code> input to GitHub Action
<code>psf/black</code> to write formatter output to a
file for artifact capture and log cleanliness (<a
href="https://redirect.github.com/psf/black/issues/4824">#4824</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/blob/main/CHANGES.md">black's
changelog</a>.</em></p>
<blockquote>
<h2>25.12.0</h2>
<h3>Highlights</h3>
<ul>
<li>Black no longer supports running with Python 3.9 (<a
href="https://redirect.github.com/psf/black/issues/4842">#4842</a>)</li>
</ul>
<h3>Stable style</h3>
<ul>
<li>Fix bug where comments preceding <code># fmt: off</code>/<code>#
fmt: on</code> blocks were incorrectly
removed, particularly affecting Jupytext's <code># %% [markdown]</code>
comments (<a
href="https://redirect.github.com/psf/black/issues/4845">#4845</a>)</li>
<li>Fix crash when multiple <code># fmt: skip</code> comments are used
in a multi-part if-clause, on
string literals, or on dictionary entries with long lines (<a
href="https://redirect.github.com/psf/black/issues/4872">#4872</a>)</li>
<li>Fix possible crash when <code>fmt: </code> directives aren't on the
top level (<a
href="https://redirect.github.com/psf/black/issues/4856">#4856</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Fix <code>fmt: skip</code> skipping the line after instead of the
line it's on (<a
href="https://redirect.github.com/psf/black/issues/4855">#4855</a>)</li>
<li>Remove unnecessary parentheses from the left-hand side of
assignments while preserving
magic trailing commas and intentional multiline formatting (<a
href="https://redirect.github.com/psf/black/issues/4865">#4865</a>)</li>
<li>Fix <code>fix_fmt_skip_in_one_liners</code> crashing on
<code>with</code> statements (<a
href="https://redirect.github.com/psf/black/issues/4853">#4853</a>)</li>
<li>Fix <code>fix_fmt_skip_in_one_liners</code> crashing on annotated
parameters (<a
href="https://redirect.github.com/psf/black/issues/4854">#4854</a>)</li>
<li>Fix new lines being added after imports with <code># fmt:
skip</code> on them (<a
href="https://redirect.github.com/psf/black/issues/4894">#4894</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Releases now include arm64 Windows binaries and wheels (<a
href="https://redirect.github.com/psf/black/issues/4814">#4814</a>)</li>
</ul>
<h3>Integrations</h3>
<ul>
<li>Add <code>output-file</code> input to GitHub Action
<code>psf/black</code> to write formatter output to a
file for artifact capture and log cleanliness (<a
href="https://redirect.github.com/psf/black/issues/4824">#4824</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/psf/black/commit/782e5605c86aab56be6f905da10dcd3e463fd9c2"><code>782e560</code></a>
Pin actions/[email protected] (<a
href="https://redirect.github.com/psf/black/issues/4895">#4895</a>)</li>
<li><a
href="https://github.com/psf/black/commit/f0f40945c1b0ebaa9ca733aca517610574c451d6"><code>f0f4094</code></a>
Fix new lines being added after imports with <code># fmt: skip</code> on
them (<a
href="https://redirect.github.com/psf/black/issues/4894">#4894</a>)</li>
<li><a
href="https://github.com/psf/black/commit/70fc194172184861aafb418c124824cae0fbe3b0"><code>70fc194</code></a>
Revert "Fix <code># fmt: skip</code> ignored in deeply nested
expressions" (<a
href="https://redirect.github.com/psf/black/issues/4893">#4893</a>)</li>
<li><a
href="https://github.com/psf/black/commit/7044b145f4826e0d6e07178d89666856a8e37aff"><code>7044b14</code></a>
Prepare 25.12.0 release (<a
href="https://redirect.github.com/psf/black/issues/4891">#4891</a>)</li>
<li><a
href="https://github.com/psf/black/commit/5b470f0e577f3c39e0f7d668934d587c0733a652"><code>5b470f0</code></a>
Fix <code># fmt: skip</code> ignored in deeply nested expressions (<a
href="https://redirect.github.com/psf/black/issues/4883">#4883</a>)</li>
<li><a
href="https://github.com/psf/black/commit/1b342ef5b0433fc1ed61a7e05a65744bef706fc9"><code>1b342ef</code></a>
Fix crash when multiple <code># fmt: skip</code> comments are used in
multi-part if-clau...</li>
<li><a
href="https://github.com/psf/black/commit/7b265f16634155dafcca65f6122ef7ed8d14a67f"><code>7b265f1</code></a>
Pin Hatch to hopefully fix Docker builds (<a
href="https://redirect.github.com/psf/black/issues/4878">#4878</a>)</li>
<li><a
href="https://github.com/psf/black/commit/c9523f463fdc9d9f9f0e61ca92d9b37acdf0d8fc"><code>c9523f4</code></a>
Attempt to fix Docker build failures (<a
href="https://redirect.github.com/psf/black/issues/4876">#4876</a>)</li>
<li><a
href="https://github.com/psf/black/commit/0f376e0c35bcb29f87ce18eace30333a3e105841"><code>0f376e0</code></a>
Fix crashes when fmt directives are indented (<a
href="https://redirect.github.com/psf/black/issues/4856">#4856</a>)</li>
<li><a
href="https://github.com/psf/black/commit/a8bfcc1040fdfce2e02cdd85dc8bf4e7abe0462f"><code>a8bfcc1</code></a>
Fix <code>fmt: skip</code> skipping the line after instead of the line
it's on (<a
href="https://redirect.github.com/psf/black/issues/4855">#4855</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/25.11.0...25.12.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 8cb8127 commit c455b14
2 files changed
+31
-30
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments