Commit a2e268e
authored
Build(deps-dev): Bump black from 26.3.1 to 26.5.1 in the minor group (#91)
Bumps the minor group with 1 update:
[black](https://github.com/psf/black).
Updates `black` from 26.3.1 to 26.5.1
<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>26.5.1</h2>
<h3>Stable style</h3>
<ul>
<li>Fix unstable formatting of annotated assignments whose subscript
annotation contains
an inline comment (e.g. <code>x: list[ # pyright: ignore[...]</code>)
(<a
href="https://redirect.github.com/psf/black/issues/5130">#5130</a>)</li>
<li>Preserve inline comments (including <code># type: ignore</code>)
immediately before a
<code># fmt: skip</code> line, avoiding AST equivalence failures (<a
href="https://redirect.github.com/psf/black/issues/5139">#5139</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Correct the version in the published executables (<a
href="https://redirect.github.com/psf/black/issues/5137">#5137</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add Neovim integration guide covering conform.nvim, ALE, and simple
command approaches
(<a
href="https://redirect.github.com/psf/black/issues/5124">#5124</a>)</li>
</ul>
<h2>26.5.0</h2>
<h3>Highlights</h3>
<ul>
<li>Add support for unpacking in comprehensions (PEP 798) and for lazy
imports (PEP 810),
both new syntactic features in Python 3.15 (<a
href="https://redirect.github.com/psf/black/issues/5048">#5048</a>)</li>
<li>Python 3.15 is now supported. Compiled wheels are not yet provided
for Python 3.15, so
performance may be slower than on existing Python versions. Wheels will
be provided
once Python 3.15 is later in its release cycle. (<a
href="https://redirect.github.com/psf/black/issues/5127">#5127</a>)</li>
</ul>
<h3>Stable style</h3>
<ul>
<li>Fix <code># fmt: skip</code> being ignored in nested <code>if</code>
expressions with parenthesized <code>in</code>
clauses (<a
href="https://redirect.github.com/psf/black/issues/4903">#4903</a>)</li>
<li>Add syntactic support for Python 3.15 (<a
href="https://redirect.github.com/psf/black/issues/5048">#5048</a>)</li>
<li>Fix crash when an f-string follows a <code># fmt: off</code> comment
inside brackets (<a
href="https://redirect.github.com/psf/black/issues/5097">#5097</a>)</li>
<li>Preserve multiline compound statement headers when <code># fmt:
skip</code> is placed on the
colon line (<a
href="https://redirect.github.com/psf/black/issues/5117">#5117</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Improve heuristics around whether blank lines should appear before,
within and after
groups of same-name decorated functions (such as <code>@overload</code>
groups) in <code>.pyi</code> stub
files (<a
href="https://redirect.github.com/psf/black/issues/5021">#5021</a>)</li>
<li>Fix blank lines being removed between a function and a decorated
class in <code>.pyi</code> stub
files (<a
href="https://redirect.github.com/psf/black/issues/5092">#5092</a>)</li>
<li>Prevent string merger from creating unsplittable long lines when a
pragma comment
(e.g. <code># type: ignore</code>) follows the closing bracket (<a
href="https://redirect.github.com/psf/black/issues/5096">#5096</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Run CI on 3.15 (<a
href="https://redirect.github.com/psf/black/issues/5127">#5127</a>)</li>
</ul>
<h3>Output</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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>Version 26.5.1</h2>
<h3>Stable style</h3>
<ul>
<li>Fix unstable formatting of annotated assignments whose subscript
annotation contains
an inline comment (e.g. <code>x: list[ # pyright: ignore[...]</code>)
(<a
href="https://redirect.github.com/psf/black/issues/5130">#5130</a>)</li>
<li>Preserve inline comments (including <code># type: ignore</code>)
immediately before a
<code># fmt: skip</code> line, avoiding AST equivalence failures (<a
href="https://redirect.github.com/psf/black/issues/5139">#5139</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Correct the version in the published executables (<a
href="https://redirect.github.com/psf/black/issues/5137">#5137</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add Neovim integration guide covering conform.nvim, ALE, and simple
command approaches
(<a
href="https://redirect.github.com/psf/black/issues/5124">#5124</a>)</li>
</ul>
<h2>Version 26.5.0</h2>
<h3>Highlights</h3>
<ul>
<li>Add support for unpacking in comprehensions (PEP 798) and for lazy
imports (PEP 810),
both new syntactic features in Python 3.15 (<a
href="https://redirect.github.com/psf/black/issues/5048">#5048</a>)</li>
<li>Python 3.15 is now supported. Compiled wheels are not yet provided
for Python 3.15, so
performance may be slower than on existing Python versions. Wheels will
be provided
once Python 3.15 is later in its release cycle. (<a
href="https://redirect.github.com/psf/black/issues/5127">#5127</a>)</li>
</ul>
<h3>Stable style</h3>
<ul>
<li>Fix <code># fmt: skip</code> being ignored in nested <code>if</code>
expressions with parenthesized <code>in</code>
clauses (<a
href="https://redirect.github.com/psf/black/issues/4903">#4903</a>)</li>
<li>Add syntactic support for Python 3.15 (<a
href="https://redirect.github.com/psf/black/issues/5048">#5048</a>)</li>
<li>Fix crash when an f-string follows a <code># fmt: off</code> comment
inside brackets (<a
href="https://redirect.github.com/psf/black/issues/5097">#5097</a>)</li>
<li>Preserve multiline compound statement headers when <code># fmt:
skip</code> is placed on the
colon line (<a
href="https://redirect.github.com/psf/black/issues/5117">#5117</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Improve heuristics around whether blank lines should appear before,
within and after
groups of same-name decorated functions (such as <code>@overload</code>
groups) in <code>.pyi</code> stub
files (<a
href="https://redirect.github.com/psf/black/issues/5021">#5021</a>)</li>
<li>Fix blank lines being removed between a function and a decorated
class in <code>.pyi</code> stub
files (<a
href="https://redirect.github.com/psf/black/issues/5092">#5092</a>)</li>
<li>Prevent string merger from creating unsplittable long lines when a
pragma comment
(e.g. <code># type: ignore</code>) follows the closing bracket (<a
href="https://redirect.github.com/psf/black/issues/5096">#5096</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Run CI on 3.15 (<a
href="https://redirect.github.com/psf/black/issues/5127">#5127</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/psf/black/commit/87928e6d6761a4a6d22250e1fee5601b3998086e"><code>87928e6</code></a>
Prepare release 26.5.1 (<a
href="https://redirect.github.com/psf/black/issues/5140">#5140</a>)</li>
<li><a
href="https://github.com/psf/black/commit/c970a49702488739add6c728122deb3a99900803"><code>c970a49</code></a>
Preserve comments before fmt: skip lines (<a
href="https://redirect.github.com/psf/black/issues/5139">#5139</a>)</li>
<li><a
href="https://github.com/psf/black/commit/5809338fd5f92d50e80c2ad312292ae6d428a480"><code>5809338</code></a>
Preserve inline comments inside annotation subscripts (<a
href="https://redirect.github.com/psf/black/issues/5130">#5130</a>)</li>
<li><a
href="https://github.com/psf/black/commit/61361b71995f6ea44ce01915bacd3ecc50642507"><code>61361b7</code></a>
docs: add Neovim integration guide and fix http link (<a
href="https://redirect.github.com/psf/black/issues/5124">#5124</a>)</li>
<li><a
href="https://github.com/psf/black/commit/ebe6018e3254629788376e619207719fbe34a849"><code>ebe6018</code></a>
CI Hotfixes (<a
href="https://redirect.github.com/psf/black/issues/5136">#5136</a>)</li>
<li><a
href="https://github.com/psf/black/commit/9cbd95f80e97c1ab4d690d1d41b81579a13bf75c"><code>9cbd95f</code></a>
Fix publish binaries again on Windows (<a
href="https://redirect.github.com/psf/black/issues/5134">#5134</a>)</li>
<li><a
href="https://github.com/psf/black/commit/3dc8e6c41911bdaedb4bac8d633979c34a112b78"><code>3dc8e6c</code></a>
Add new changelog (<a
href="https://redirect.github.com/psf/black/issues/5132">#5132</a>)</li>
<li><a
href="https://github.com/psf/black/commit/6d0fff0d5a965b9d0d3dbd7c5738d835fd574130"><code>6d0fff0</code></a>
Fix publish binaries workflow (<a
href="https://redirect.github.com/psf/black/issues/5133">#5133</a>)</li>
<li><a
href="https://github.com/psf/black/commit/d2490e24dad33b8f68c77602ee29160de0fea24b"><code>d2490e2</code></a>
Prepare release 26.5.0 (<a
href="https://redirect.github.com/psf/black/issues/5131">#5131</a>)</li>
<li><a
href="https://github.com/psf/black/commit/2b13ea76fa69d4923381df65deb1a5c896ca27ad"><code>2b13ea7</code></a>
Preserve multiline headers with fmt skip (<a
href="https://redirect.github.com/psf/black/issues/5117">#5117</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/26.3.1...26.5.1">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 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
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments