Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump ruff from 0.0.269 to 0.0.270 (#178)
Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.269 to 0.0.270. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/charliermarsh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.0.270</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Rules</h3> <ul> <li>[<code>flake8-bandit</code>] Implement <code>paramiko-call</code> (<code>S601</code>) by <a href="https://github.com/scop"><code>@scop</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4500">charliermarsh/ruff#4500</a></li> <li>[<code>flake8-pyi</code>] Add autofix for PYI009 by <a href="https://github.com/qdegraaf"><code>@qdegraaf</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4583">charliermarsh/ruff#4583</a></li> <li>[<code>flake8-pyi</code>] Implement <code>PYI013</code> by <a href="https://github.com/density"><code>@density</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4517">charliermarsh/ruff#4517</a></li> <li>[<code>pylint</code>] Add <code>duplicate-value</code> (<code>W0130</code>) by <a href="https://github.com/hoel-bagard"><code>@hoel-bagard</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4515">charliermarsh/ruff#4515</a></li> <li>[<code>pylint</code>] Add <code>named_expr_without_context</code> (<code>W0131</code>) by <a href="https://github.com/hoel-bagard"><code>@hoel-bagard</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4531">charliermarsh/ruff#4531</a></li> <li>[<code>ruff</code>] Extend <code>RUF005</code> to recursive and literal-literal concatenations by <a href="https://github.com/hoel-bagard"><code>@hoel-bagard</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4557">charliermarsh/ruff#4557</a></li> <li>[<code>ruff</code>] Make ambiguous-unicode detection sensitive to 'word' context by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4552">charliermarsh/ruff#4552</a></li> <li>[<code>ruff</code>] Name ambiguous characters by <a href="https://github.com/covracer"><code>@covracer</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4448">charliermarsh/ruff#4448</a></li> </ul> <h3>Settings</h3> <ul> <li>Implement <code>--extend-fixable</code> option by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4297">charliermarsh/ruff#4297</a></li> <li>Support new <code>extend-per-file-ignores</code> setting by <a href="https://github.com/aacunningham"><code>@aacunningham</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4265">charliermarsh/ruff#4265</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Fix RUF010 auto-fix with parenthesis by <a href="https://github.com/JonathanPlasse"><code>@JonathanPlasse</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4524">charliermarsh/ruff#4524</a></li> <li>Parenthesize more sub-expressions in f-string conversion by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4535">charliermarsh/ruff#4535</a></li> <li>Fix false-positive for TRY302 if exception cause is given by <a href="https://github.com/153957"><code>@153957</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4559">charliermarsh/ruff#4559</a></li> <li>Fix <code># isort: split</code> comment detection in nested blocks by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4584">charliermarsh/ruff#4584</a></li> <li>Avoid some false positives in dunder variable assigments by <a href="https://github.com/scop"><code>@scop</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4508">charliermarsh/ruff#4508</a></li> <li>Fix UP032 auto-fix with integers by <a href="https://github.com/JonathanPlasse"><code>@JonathanPlasse</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4525">charliermarsh/ruff#4525</a></li> <li>Improve reference resolution for deferred-annotations-within-classes by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4509">charliermarsh/ruff#4509</a></li> <li>Improve handling of <code>__qualname__</code>, <code>__module__</code>, and <code>__class__</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4512">charliermarsh/ruff#4512</a></li> <li>Include empty success test in JUnit output by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4537">charliermarsh/ruff#4537</a></li> <li>Fix SIM110 and SIM111 ranges by <a href="https://github.com/JonathanPlasse"><code>@JonathanPlasse</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4545">charliermarsh/ruff#4545</a></li> <li>Ignore <code>#region</code> code folding marks in eradicate rules by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4546">charliermarsh/ruff#4546</a></li> <li>Avoid infinite loop for required imports with isort: off by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4581">charliermarsh/ruff#4581</a></li> <li>Make B007 fix relevance stricter by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4607">charliermarsh/ruff#4607</a></li> <li>Introduce <code>tab-size</code> to correcly calculate the line length with tabulations by <a href="https://github.com/JonathanPlasse"><code>@JonathanPlasse</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4167">charliermarsh/ruff#4167</a></li> <li>Visit <code>TypeVar</code> and <code>NewType</code> name arguments by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4627">charliermarsh/ruff#4627</a></li> <li>Improve <code>Message</code> sorting performance by <a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a> in <a href="https://github.com/charliermarsh/ruff/pull/4624">charliermarsh/ruff#4624</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/hoel-bagard"><code>@hoel-bagard</code></a> made their first contribution in <a href="https://github.com/charliermarsh/ruff/pull/4516">charliermarsh/ruff#4516</a></li> <li><a href="https://github.com/density"><code>@density</code></a> made their first contribution in <a href="https://github.com/charliermarsh/ruff/pull/4517">charliermarsh/ruff#4517</a></li> <li><a href="https://github.com/Mr-Pepe"><code>@Mr-Pepe</code></a> made their first contribution in <a href="https://github.com/charliermarsh/ruff/pull/4540">charliermarsh/ruff#4540</a></li> <li><a href="https://github.com/153957"><code>@153957</code></a> made their first contribution in <a href="https://github.com/charliermarsh/ruff/pull/4559">charliermarsh/ruff#4559</a></li> <li><a href="https://github.com/covracer"><code>@covracer</code></a> made their first contribution in <a href="https://github.com/charliermarsh/ruff/pull/4448">charliermarsh/ruff#4448</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/charliermarsh/ruff/compare/v0.0.269...v0.0.270">https://github.com/charliermarsh/ruff/compare/v0.0.269...v0.0.270</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/charliermarsh/ruff/commit/09c50c311c727c6f6e7b19d982f838ef83d581b1"><code>09c50c3</code></a> Testing Macros: Add <code>extra-traits</code> feature (<a href="https://github.com/charliermarsh/ruff/issues/4643">#4643</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/252506f8eda134866d4d3d749f0ba6b09362f7f9"><code>252506f</code></a> Remove deprecated --universal2 flag (<a href="https://github.com/charliermarsh/ruff/issues/4640">#4640</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/f4572fe40bbe4601266d7b2daa6805cfdfa2475c"><code>f4572fe</code></a> Bump version to 0.0.270 (<a href="https://github.com/charliermarsh/ruff/issues/4637">#4637</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/8c9215489e754c70128f331330b0cefe416d41ba"><code>8c92154</code></a> Migrate flake8_bugbear rules to <code>unspecified</code> to <code>suggested</code> (<a href="https://github.com/charliermarsh/ruff/issues/4616">#4616</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/dcd2bfaab7173f0798afdd6e5ef914057ea69487"><code>dcd2bfa</code></a> Migrate flake8_pie autofix rules from <code>unspecified</code> to <code>suggested</code> and `autom...</li> <li><a href="https://github.com/charliermarsh/ruff/commit/f0e173d9fd3d2af02659fb09f613469c761b9b88"><code>f0e173d</code></a> Use <code>BindingId</code> copies in lieu of <code>&BindingId</code> in semantic model methods (<a href="https://github.com/charliermarsh/ruff/issues/4633">#4633</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/f4f1b1d0eef61fd59ffdb22b4c7bca0deb8dcef1"><code>f4f1b1d</code></a> Only run the playground release job on release (<a href="https://github.com/charliermarsh/ruff/issues/4636">#4636</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/edc6c4058f100c472e8165d2a915425696f34f53"><code>edc6c40</code></a> Move <code>shared_traits</code> to <code>ruff_formatter</code> (<a href="https://github.com/charliermarsh/ruff/issues/4632">#4632</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/4233f6ec91b0c5db5407e1132f7e30476c3bc120"><code>4233f6e</code></a> Update to the new rule architecture (<a href="https://github.com/charliermarsh/ruff/issues/4589">#4589</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/fcdc7bdd33b77c940cb0a76cdb361569e6702dbf"><code>fcdc7bd</code></a> Remove separate <code>ReferenceContext</code> enum (<a href="https://github.com/charliermarsh/ruff/issues/4631">#4631</a>)</li> <li>Additional commits viewable in <a href="https://github.com/charliermarsh/ruff/compare/v0.0.269...v0.0.270">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.0.269&new-version=0.0.270)](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>
- Loading branch information