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 22.10.0 to 22.12.0 (#590)
Bumps [black](https://github.com/psf/black) from 22.10.0 to 22.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>22.12.0</h2> <h3>Preview style</h3> <!-- raw HTML omitted --> <ul> <li>Enforce empty lines before classes and functions with sticky leading comments (<a href="https://github-redirect.dependabot.com/psf/black/issues/3302">#3302</a>)</li> <li>Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (<a href="https://github-redirect.dependabot.com/psf/black/issues/3348">#3348</a>)</li> <li>Implicitly concatenated strings used as function args are now wrapped inside parentheses (<a href="https://github-redirect.dependabot.com/psf/black/issues/3307">#3307</a>)</li> <li>Correctly handle trailing commas that are inside a line's leading non-nested parens (<a href="https://github-redirect.dependabot.com/psf/black/issues/3370">#3370</a>)</li> </ul> <h3>Configuration</h3> <!-- raw HTML omitted --> <ul> <li>Fix incorrectly applied <code>.gitignore</code> rules by considering the <code>.gitignore</code> location and the relative path to the target file (<a href="https://github-redirect.dependabot.com/psf/black/issues/3338">#3338</a>)</li> <li>Fix incorrectly ignoring <code>.gitignore</code> presence when more than one source directory is specified (<a href="https://github-redirect.dependabot.com/psf/black/issues/3336">#3336</a>)</li> </ul> <h3>Parser</h3> <!-- raw HTML omitted --> <ul> <li>Parsing support has been added for walruses inside generator expression that are passed as function args (for example, <code>any(match := my_re.match(text) for text in texts)</code>) (<a href="https://github-redirect.dependabot.com/psf/black/issues/3327">#3327</a>).</li> </ul> <h3>Integrations</h3> <!-- raw HTML omitted --> <ul> <li>Vim plugin: Optionally allow using the system installation of Black via <code>let g:black_use_virtualenv = 0</code>(<a href="https://github-redirect.dependabot.com/psf/black/issues/3309">#3309</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>22.12.0</h2> <h3>Preview style</h3> <!-- raw HTML omitted --> <ul> <li>Enforce empty lines before classes and functions with sticky leading comments (<a href="https://github-redirect.dependabot.com/psf/black/issues/3302">#3302</a>)</li> <li>Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (<a href="https://github-redirect.dependabot.com/psf/black/issues/3348">#3348</a>)</li> <li>Implicitly concatenated strings used as function args are now wrapped inside parentheses (<a href="https://github-redirect.dependabot.com/psf/black/issues/3307">#3307</a>)</li> <li>Correctly handle trailing commas that are inside a line's leading non-nested parens (<a href="https://github-redirect.dependabot.com/psf/black/issues/3370">#3370</a>)</li> </ul> <h3>Configuration</h3> <!-- raw HTML omitted --> <ul> <li>Fix incorrectly applied <code>.gitignore</code> rules by considering the <code>.gitignore</code> location and the relative path to the target file (<a href="https://github-redirect.dependabot.com/psf/black/issues/3338">#3338</a>)</li> <li>Fix incorrectly ignoring <code>.gitignore</code> presence when more than one source directory is specified (<a href="https://github-redirect.dependabot.com/psf/black/issues/3336">#3336</a>)</li> </ul> <h3>Parser</h3> <!-- raw HTML omitted --> <ul> <li>Parsing support has been added for walruses inside generator expression that are passed as function args (for example, <code>any(match := my_re.match(text) for text in texts)</code>) (<a href="https://github-redirect.dependabot.com/psf/black/issues/3327">#3327</a>).</li> </ul> <h3>Integrations</h3> <!-- raw HTML omitted --> <ul> <li>Vim plugin: Optionally allow using the system installation of Black via <code>let g:black_use_virtualenv = 0</code>(<a href="https://github-redirect.dependabot.com/psf/black/issues/3309">#3309</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/2ddea293a88919650266472186620a98a4a8bb37"><code>2ddea29</code></a> Prepare release 22.12.0 (<a href="https://github-redirect.dependabot.com/psf/black/issues/3413">#3413</a>)</li> <li><a href="https://github.com/psf/black/commit/5b1443aefd9ad2bbaa20a76997183225dbfcc0fb"><code>5b1443a</code></a> release: skip bad macos wheels for now (<a href="https://github-redirect.dependabot.com/psf/black/issues/3411">#3411</a>)</li> <li><a href="https://github.com/psf/black/commit/9ace064d85e1fb0497db635e485fdab1e174e737"><code>9ace064</code></a> Bump peter-evans/find-comment from 2.0.1 to 2.1.0 (<a href="https://github-redirect.dependabot.com/psf/black/issues/3404">#3404</a>)</li> <li><a href="https://github.com/psf/black/commit/19c5fe429e355a53ff320065d22e661785040b4c"><code>19c5fe4</code></a> Fix CI with latest flake8-bugbear (<a href="https://github-redirect.dependabot.com/psf/black/issues/3412">#3412</a>)</li> <li><a href="https://github.com/psf/black/commit/d4a85643a465f5fae2113d07d22d021d4af4795a"><code>d4a8564</code></a> Bump sphinx-copybutton from 0.5.0 to 0.5.1 in /docs (<a href="https://github-redirect.dependabot.com/psf/black/issues/3390">#3390</a>)</li> <li><a href="https://github.com/psf/black/commit/27932494bcefac03497dd92dcf0c59a04c10d757"><code>2793249</code></a> Wordsmith current_style.md (<a href="https://github-redirect.dependabot.com/psf/black/issues/3383">#3383</a>)</li> <li><a href="https://github.com/psf/black/commit/d97b7898b34b67eb3c6839998920e17ac8c77908"><code>d97b789</code></a> Remove whitespaces of whitespace-only files (<a href="https://github-redirect.dependabot.com/psf/black/issues/3348">#3348</a>)</li> <li><a href="https://github.com/psf/black/commit/c23a5c15aac963b460fdb1327ae875aafafafd41"><code>c23a5c1</code></a> Clarify that Black runs with --safe by default (<a href="https://github-redirect.dependabot.com/psf/black/issues/3378">#3378</a>)</li> <li><a href="https://github.com/psf/black/commit/8091b2503d12dd0110e0f1a9ed1e6b830aa668ed"><code>8091b25</code></a> Correctly handle trailing commas that are inside a line's leading non-nested ...</li> <li><a href="https://github.com/psf/black/commit/ffaaf4838228c922b586a87f717ed402031fcc0a"><code>ffaaf48</code></a> Compare each .gitignore found with an appropiate relative path (<a href="https://github-redirect.dependabot.com/psf/black/issues/3338">#3338</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/22.10.0...22.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=22.10.0&new-version=22.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 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>
- Loading branch information