Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump black from 23.11.0 to 23.12.0 (#286)
Bumps [black](https://github.com/psf/black) from 23.11.0 to 23.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>23.12.0</h2> <h3>Highlights</h3> <p>It's almost 2024, which means it's time for a new edition of <em>Black</em>'s stable style! Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft 2024 stable style, which we'll finalize in the January release. Please try it out and <a href="https://redirect.github.com/psf/black/issues/4042">share your feedback</a>.</p> <p>This release (23.12.0) will still produce the 2023 style. Most but not all of the changes in <code>--preview</code> mode will be in the 2024 stable style.</p> <h3>Stable style</h3> <ul> <li>Fix bug where <code># fmt: off</code> automatically dedents when used with the <code>--line-ranges</code> option, even when it is not within the specified line range. (<a href="https://redirect.github.com/psf/black/issues/4084">#4084</a>)</li> <li>Fix feature detection for parenthesized context managers (<a href="https://redirect.github.com/psf/black/issues/4104">#4104</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Prefer more equal signs before a break when splitting chained assignments (<a href="https://redirect.github.com/psf/black/issues/4010">#4010</a>)</li> <li>Standalone form feed characters at the module level are no longer removed (<a href="https://redirect.github.com/psf/black/issues/4021">#4021</a>)</li> <li>Additional cases of immediately nested tuples, lists, and dictionaries are now indented less (<a href="https://redirect.github.com/psf/black/issues/4012">#4012</a>)</li> <li>Allow empty lines at the beginning of all blocks, except immediately before a docstring (<a href="https://redirect.github.com/psf/black/issues/4060">#4060</a>)</li> <li>Fix crash in preview mode when using a short <code>--line-length</code> (<a href="https://redirect.github.com/psf/black/issues/4086">#4086</a>)</li> <li>Keep suites consisting of only an ellipsis on their own lines if they are not functions or class definitions (<a href="https://redirect.github.com/psf/black/issues/4066">#4066</a>) (<a href="https://redirect.github.com/psf/black/issues/4103">#4103</a>)</li> </ul> <h3>Configuration</h3> <ul> <li><code>--line-ranges</code> now skips <em>Black</em>'s internal stability check in <code>--safe</code> mode. This avoids a crash on rare inputs that have many unformatted same-content lines. (<a href="https://redirect.github.com/psf/black/issues/4034">#4034</a>)</li> </ul> <h3>Packaging</h3> <ul> <li>Upgrade to mypy 1.7.1 (<a href="https://redirect.github.com/psf/black/issues/4049">#4049</a>) (<a href="https://redirect.github.com/psf/black/issues/4069">#4069</a>)</li> <li>Faster compiled wheels are now available for CPython 3.12 (<a href="https://redirect.github.com/psf/black/issues/4070">#4070</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Enable 3.12 CI (<a href="https://redirect.github.com/psf/black/issues/4035">#4035</a>)</li> <li>Build docker images in parallel (<a href="https://redirect.github.com/psf/black/issues/4054">#4054</a>)</li> <li>Build docker images with 3.12 (<a href="https://redirect.github.com/psf/black/issues/4055">#4055</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>23.12.0</h2> <h3>Highlights</h3> <p>It's almost 2024, which means it's time for a new edition of <em>Black</em>'s stable style! Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft 2024 stable style, which we'll finalize in the January release. Please try it out and <a href="https://redirect.github.com/psf/black/issues/4042">share your feedback</a>.</p> <p>This release (23.12.0) will still produce the 2023 style. Most but not all of the changes in <code>--preview</code> mode will be in the 2024 stable style.</p> <h3>Stable style</h3> <ul> <li>Fix bug where <code># fmt: off</code> automatically dedents when used with the <code>--line-ranges</code> option, even when it is not within the specified line range. (<a href="https://redirect.github.com/psf/black/issues/4084">#4084</a>)</li> <li>Fix feature detection for parenthesized context managers (<a href="https://redirect.github.com/psf/black/issues/4104">#4104</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Prefer more equal signs before a break when splitting chained assignments (<a href="https://redirect.github.com/psf/black/issues/4010">#4010</a>)</li> <li>Standalone form feed characters at the module level are no longer removed (<a href="https://redirect.github.com/psf/black/issues/4021">#4021</a>)</li> <li>Additional cases of immediately nested tuples, lists, and dictionaries are now indented less (<a href="https://redirect.github.com/psf/black/issues/4012">#4012</a>)</li> <li>Allow empty lines at the beginning of all blocks, except immediately before a docstring (<a href="https://redirect.github.com/psf/black/issues/4060">#4060</a>)</li> <li>Fix crash in preview mode when using a short <code>--line-length</code> (<a href="https://redirect.github.com/psf/black/issues/4086">#4086</a>)</li> <li>Keep suites consisting of only an ellipsis on their own lines if they are not functions or class definitions (<a href="https://redirect.github.com/psf/black/issues/4066">#4066</a>) (<a href="https://redirect.github.com/psf/black/issues/4103">#4103</a>)</li> </ul> <h3>Configuration</h3> <ul> <li><code>--line-ranges</code> now skips <em>Black</em>'s internal stability check in <code>--safe</code> mode. This avoids a crash on rare inputs that have many unformatted same-content lines. (<a href="https://redirect.github.com/psf/black/issues/4034">#4034</a>)</li> </ul> <h3>Packaging</h3> <ul> <li>Upgrade to mypy 1.7.1 (<a href="https://redirect.github.com/psf/black/issues/4049">#4049</a>) (<a href="https://redirect.github.com/psf/black/issues/4069">#4069</a>)</li> <li>Faster compiled wheels are now available for CPython 3.12 (<a href="https://redirect.github.com/psf/black/issues/4070">#4070</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Enable 3.12 CI (<a href="https://redirect.github.com/psf/black/issues/4035">#4035</a>)</li> <li>Build docker images in parallel (<a href="https://redirect.github.com/psf/black/issues/4054">#4054</a>)</li> <li>Build docker images with 3.12 (<a href="https://redirect.github.com/psf/black/issues/4055">#4055</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/d9ad09a32b0e0481bb4fef548d35b7a49cc03c5d"><code>d9ad09a</code></a> Prepare release 23.12.0 (<a href="https://redirect.github.com/psf/black/issues/4105">#4105</a>)</li> <li><a href="https://github.com/psf/black/commit/ebd543c0ac9b8a5f17636d0a42c425e5f693860e"><code>ebd543c</code></a> Fix feature detection for parenthesized context managers (<a href="https://redirect.github.com/psf/black/issues/4104">#4104</a>)</li> <li><a href="https://github.com/psf/black/commit/eb7661f8ab9bff344835693c7c08789bb195137e"><code>eb7661f</code></a> Fix another case where we format dummy implementation for non-functions/class...</li> <li><a href="https://github.com/psf/black/commit/0c9899956d890a9dc9c3adbc80b478a47846ced9"><code>0c98999</code></a> Fix path in test message (<a href="https://redirect.github.com/psf/black/issues/4102">#4102</a>)</li> <li><a href="https://github.com/psf/black/commit/9aea9768cb60d23f2f4d331e94c4ee07ef1683a5"><code>9aea976</code></a> Only use dummy implementation logic for functions and classes (<a href="https://redirect.github.com/psf/black/issues/4066">#4066</a>)</li> <li><a href="https://github.com/psf/black/commit/67b23d71854c19921cc6092c695d3301ab99229c"><code>67b23d7</code></a> Bump actions/setup-python from 4 to 5 (<a href="https://redirect.github.com/psf/black/issues/4101">#4101</a>)</li> <li><a href="https://github.com/psf/black/commit/ce28be2705ab29f184ec4a00aa3d23340630796d"><code>ce28be2</code></a> Add dedicated preview feature for East Asian Width (<a href="https://redirect.github.com/psf/black/issues/4097">#4097</a>)</li> <li><a href="https://github.com/psf/black/commit/61b529b7d15400309379f36104885a1dfcd2d026"><code>61b529b</code></a> Allow empty lines at beginning of blocks (again) (<a href="https://redirect.github.com/psf/black/issues/4060">#4060</a>)</li> <li><a href="https://github.com/psf/black/commit/e7e122e9ff27fc040a6e8ecd92f0e7603c87f92d"><code>e7e122e</code></a> docs: Move <code>fmt: off</code> docs (<a href="https://redirect.github.com/psf/black/issues/4090">#4090</a>)</li> <li><a href="https://github.com/psf/black/commit/432d9050c3d1e35a36ffc97d4a9e0e0c9e5e4ecc"><code>432d905</code></a> docs: Unify option descriptions between <code>--help</code> and <code>the_basics.md</code> (<a href="https://redirect.github.com/psf/black/issues/4076">#4076</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/23.11.0...23.12.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=23.11.0&new-version=23.12.0)](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>
- Loading branch information