Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump yapf from 0.40.2 to 0.43.0 (#511)
Bumps [yapf](https://github.com/google/yapf) from 0.40.2 to 0.43.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/google/yapf/blob/main/CHANGELOG.md">yapf's changelog</a>.</em></p> <blockquote> <h1>Change Log</h1> <h1>All notable changes to this project will be documented in this file.</h1> <h1>This project adheres to <a href="http://semver.org/">Semantic Versioning</a>.</h1> <h2>(0.41.0) UNRELEASED</h2> <h3>Added</h3> <ul> <li> <p>New <code>DISABLE_SPLIT_LIST_WITH_COMMENT</code> flag. <code>DISABLE_SPLIT_LIST_WITH_COMMENT</code> is a new knob that changes the behavior of splitting a list when a comment is present inside the list.</p> <p>Before, we split a list containing a comment just like we split a list containing a trailing comma: Each element goes on its own line (unless <code>DISABLE_ENDING_COMMA_HEURISTIC</code> is true).</p> <p>This new flag allows you to control the behavior of a list with a comment <em>separately</em> from the behavior when the list contains a trailing comma.</p> <p>This mirrors the behavior of clang-format, and is useful for e.g. forming "logical groups" of elements in a list.</p> <p>Without this flag:</p> <pre><code>[ a, b, # c ] </code></pre> <p>With this flag:</p> <pre><code>[ a, b, # c ] </code></pre> <p>Before we had one flag that controlled two behaviors.</p> <ul> <li><code>DISABLE_ENDING_COMMA_HEURISTIC=false</code> (default): <ul> <li>Split a list that has a trailing comma.</li> <li>Split a list that contains a comment.</li> </ul> </li> <li><code>DISABLE_ENDING_COMMA_HEURISTIC=true</code>: <ul> <li>Don't split on trailing comma.</li> <li>Don't split on comment.</li> </ul> </li> </ul> <p>Now we have two flags.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/yapf/commit/5cb90cb4973511e03984f07913ad696d54b0ea00"><code>5cb90cb</code></a> Bump version to v0.43.0</li> <li><a href="https://github.com/google/yapf/commit/29db8b7a5a77c156b461eece673b1ee3093f9f86"><code>29db8b7</code></a> Actions(deps): Bump actions/checkout from 4.2.0 to 4.2.1 (<a href="https://redirect.github.com/google/yapf/issues/1249">#1249</a>)</li> <li><a href="https://github.com/google/yapf/commit/89d1cd05f71b8c4b3fbe4b75493c6568b1847d53"><code>89d1cd0</code></a> Actions(deps): Bump peter-evans/create-pull-request from 6.0.2 to 7.0.5 (<a href="https://redirect.github.com/google/yapf/issues/1239">#1239</a>)</li> <li><a href="https://github.com/google/yapf/commit/7e218233d634829795987465d6cd6ba9779c6514"><code>7e21823</code></a> ylib2to3/pgen2/grammar: Fix Grammar.dump for parallel use with Grammar.load (...</li> <li><a href="https://github.com/google/yapf/commit/ed705406ff27f05e501ac8d2043c69ad3ad60f2e"><code>ed70540</code></a> pre-commit: Add hook for yapf-diff (<a href="https://redirect.github.com/google/yapf/issues/1246">#1246</a>)</li> <li><a href="https://github.com/google/yapf/commit/0de7684808acb6bb2f9a6da22e2dc3175be39fc3"><code>0de7684</code></a> Actions(deps): Bump actions/checkout from 4.1.2 to 4.2.0 (<a href="https://redirect.github.com/google/yapf/issues/1241">#1241</a>)</li> <li><a href="https://github.com/google/yapf/commit/b95145705bf520279eb409406296014b1b7f5431"><code>b951457</code></a> Fix CI (<a href="https://redirect.github.com/google/yapf/issues/1242">#1242</a>)</li> <li><a href="https://github.com/google/yapf/commit/1afbf7112ae61a467276c9401b3c113e6f676d0f"><code>1afbf71</code></a> Actions(deps): Bump actions/setup-python from 5.0.0 to 5.1.0 (<a href="https://redirect.github.com/google/yapf/issues/1218">#1218</a>)</li> <li><a href="https://github.com/google/yapf/commit/fcd79bcc07c435ad6b94f84c92766ff88ad3fab7"><code>fcd79bc</code></a> Actions(deps): Bump peter-evans/create-pull-request from 6.0.0 to 6.0.2 (<a href="https://redirect.github.com/google/yapf/issues/1213">#1213</a>)</li> <li><a href="https://github.com/google/yapf/commit/507a9003fda0c7d90ff04677c3037b8b063db713"><code>507a900</code></a> Actions(deps): Bump actions/checkout from 4.1.1 to 4.1.2 (<a href="https://redirect.github.com/google/yapf/issues/1212">#1212</a>)</li> <li>Additional commits viewable in <a href="https://github.com/google/yapf/compare/v0.40.2...v0.43.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=yapf&package-manager=pip&previous-version=0.40.2&new-version=0.43.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