Skip to content

Commit

Permalink
Update black requirement from ~=24.1 to ~=24.2 (#15)
Browse files Browse the repository at this point in the history
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="https://github.com/psf/black/commit/6fdf8a4af28071ed1d079c01122b34c5d587207a"><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="https://github.com/psf/black/commit/8af439407c051d55f3221cc93795d20bd9af49c9"><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="https://github.com/psf/black/commit/35e97769190d8c8fe94d9ea2d70d7d88b22a2642"><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="https://github.com/psf/black/commit/23dfc5b2c3b0694a8c27e58e28439591976aaf94"><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="https://github.com/psf/black/commit/a20100395cf6179a81289452efad1d8e72b19682"><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="https://github.com/psf/black/commit/dab37a6a1117d690d683121edc4d7c8fb8dd75a7"><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="https://github.com/psf/black/commit/32230e6f5c4bc6bb5c469451e15f3f54d9884b51"><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="https://github.com/psf/black/commit/7edb50f5a0afc56bb648dc14640ced144366b43a"><code>7edb50f</code></a>
fix: additional newline added to docstring when the previous line length
is l...</li>
<li><a
href="https://github.com/psf/black/commit/3e80de3447dee272e9977ab58b1560a669b7b848"><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="https://github.com/psf/black/commit/a08b480a2f39fb4fc7b210d8b450e33d3879f77d"><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>
  • Loading branch information
ZeroCool940711 authored Feb 13, 2024
2 parents 7756fd7 + 1355391 commit 8e073b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file defines the additional requirements for a developer working
# with this project (e.g. for testing or useful development tools).
# The regular project dependencies are defined in requirements.txt
black~=24.1
black~=24.2
pre-commit~=3.6
pytest~=8.0
pytest-cov~=4.1
Expand Down

0 comments on commit 8e073b6

Please sign in to comment.