chore(deps): update black requirement from ~=24.1 to ~=24.2 (#175)

Updates the requirements on [black](https://github.com/psf/black) to
permit the latest version.
<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>24.2.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fixed a bug where comments where mistakenly removed along with
redundant parentheses
(<a
href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Move the <code>hug_parens_with_braces_and_square_brackets</code>
feature to the unstable style
due to an outstanding crash and proposed formatting tweaks (<a
href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li>
<li>Fixed a bug where base expressions caused inconsistent formatting of
** in tenary
expression (<a
href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li>Checking for newline before adding one on docstring that is almost
at the line limit
(<a
href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li>
<li>Remove redundant parentheses in <code>case</code> statement
<code>if</code> guards (<a
href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Fix issue where <em>Black</em> would ignore input files in the
presence of symlinks (<a
href="https://redirect.github.com/psf/black/issues/4222">#4222</a>)</li>
<li><em>Black</em> now ignores <code>pyproject.toml</code> that is
missing a <code>tool.black</code> section when
discovering project root and configuration. Since <em>Black</em>
continues to use version
control as an indicator of project root, this is expected to primarily
change behavior
for users in a monorepo setup (desirably). If you wish to preserve
previous behavior,
simply add an empty <code>[tool.black]</code> to the previously
discovered <code>pyproject.toml</code>
(<a
href="https://redirect.github.com/psf/black/issues/4204">#4204</a>)</li>
</ul>
<h3>Output</h3>
<ul>
<li>Black will swallow any <code>SyntaxWarning</code>s or
<code>DeprecationWarning</code>s produced by the <code>ast</code>
module when performing equivalence checks (<a
href="https://redirect.github.com/psf/black/issues/4189">#4189</a>)</li>
</ul>
<h3>Integrations</h3>
<ul>
<li>Add a JSONSchema and provide a validate-pyproject entry-point (<a
href="https://redirect.github.com/psf/black/issues/4181">#4181</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>24.2.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fixed a bug where comments where mistakenly removed along with
redundant parentheses
(<a
href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Move the <code>hug_parens_with_braces_and_square_brackets</code>
feature to the unstable style
due to an outstanding crash and proposed formatting tweaks (<a
href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li>
<li>Fixed a bug where base expressions caused inconsistent formatting of
** in tenary
expression (<a
href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li>Checking for newline before adding one on docstring that is almost
at the line limit
(<a
href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li>
<li>Remove redundant parentheses in <code>case</code> statement
<code>if</code> guards (<a
href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Fix issue where <em>Black</em> would ignore input files in the
presence of symlinks (<a
href="https://redirect.github.com/psf/black/issues/4222">#4222</a>)</li>
<li><em>Black</em> now ignores <code>pyproject.toml</code> that is
missing a <code>tool.black</code> section when
discovering project root and configuration. Since <em>Black</em>
continues to use version
control as an indicator of project root, this is expected to primarily
change behavior
for users in a monorepo setup (desirably). If you wish to preserve
previous behavior,
simply add an empty <code>[tool.black]</code> to the previously
discovered <code>pyproject.toml</code>
(<a
href="https://redirect.github.com/psf/black/issues/4204">#4204</a>)</li>
</ul>
<h3>Output</h3>
<ul>
<li>Black will swallow any <code>SyntaxWarning</code>s or
<code>DeprecationWarning</code>s produced by the <code>ast</code>
module when performing equivalence checks (<a
href="https://redirect.github.com/psf/black/issues/4189">#4189</a>)</li>
</ul>
<h3>Integrations</h3>
<ul>
<li>Add a JSONSchema and provide a validate-pyproject entry-point (<a
href="https://redirect.github.com/psf/black/issues/4181">#4181</a>)</li>
</ul>
<h2>24.1.1</h2>
<p>Bugfix release to fix a bug that made Black unusable on certain file
systems with strict
limits on path length.</p>
<h3>Preview style</h3>
<ul>
<li>Consistently add trailing comma on typed parameters (<a
href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Shorten the length of the name of the cache file to fix crashes on
file systems that
do not support long paths (<a
href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6fdf8a4af2"><code>6fdf8a4</code></a>
Prepare release 24.2.0 (<a
href="https://redirect.github.com/psf/black/issues/4226">#4226</a>)</li>
<li><a
href="8af439407c"><code>8af4394</code></a>
fix: Don't remove comments along with parens (<a
href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li>
<li><a
href="35e9776919"><code>35e9776</code></a>
Bump pre-commit/action from 3.0.0 to 3.0.1 (<a
href="https://redirect.github.com/psf/black/issues/4225">#4225</a>)</li>
<li><a
href="23dfc5b2c3"><code>23dfc5b</code></a>
Fix ignoring input files for symlink reasons (<a
href="https://redirect.github.com/psf/black/issues/4222">#4222</a>)</li>
<li><a
href="a20100395c"><code>a201003</code></a>
Simplify check for symlinks that resolve outside root (<a
href="https://redirect.github.com/psf/black/issues/4221">#4221</a>)</li>
<li><a
href="dab37a6a11"><code>dab37a6</code></a>
Remove redundant parentheses in <code>case</code> statement
<code>if</code> guards (<a
href="https://redirect.github.com/psf/black/issues/4214">#4214</a>)</li>
<li><a
href="32230e6f5c"><code>32230e6</code></a>
fix: bug where the doublestar operation had inconsistent formatting. (<a
href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li><a
href="7edb50f5a0"><code>7edb50f</code></a>
fix: additional newline added to docstring when the previous line length
is l...</li>
<li><a
href="3e80de3447"><code>3e80de3</code></a>
Bump furo from 2023.9.10 to 2024.1.29 in /docs (<a
href="https://redirect.github.com/psf/black/issues/4211">#4211</a>)</li>
<li><a
href="a08b480a2f"><code>a08b480</code></a>
Bump pypa/cibuildwheel from 2.16.4 to 2.16.5 (<a
href="https://redirect.github.com/psf/black/issues/4212">#4212</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/24.1.0...24.2.0">compare
view</a></li>
</ul>
</details>
<br />


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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2024-03-14 06:01:44 +01:00 committed by GitHub
parent 337a58c6d9
commit dcd5a9ac7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,4 +2,4 @@
pytest==8.0.0
pytest-cov==4.1.0
pyquery==2.0.0
black~=24.1
black~=24.2