Commit 5041abc
authored
Bump black from 25.11.0 to 25.12.0 in the minor group (#225)
Bumps the minor group with 1 update:
[black](https://github.com/psf/black).
Updates `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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments