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.285 to 0.0.286 (#232)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.285 to 0.0.286. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.0.286</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>New Rules</h3> <ul> <li>[<code>flake8-bugbear</code>] Update <code>function-call-in-argument-default</code> (<code>B008</code>) to ignore arguments with immutable annotations by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6784">astral-sh/ruff#6784</a></li> <li>[<code>flake8-bugbear</code>] Update <code>mutable-argument-default</code> (<code>B006</code>) to use <code>extend-immutable-calls</code> when determining if annotations are immutable by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6781">astral-sh/ruff#6781</a></li> <li>[<code>flake8-pie</code>] Implement <code>unnecessary-range-start</code> (<code>PIE808</code>) by <a href="https://github.com/harupy"><code>@harupy</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6690">astral-sh/ruff#6690</a></li> <li>[<code>flake8-pytest-style</code>] Add autofix for <code>PT014</code> by <a href="https://github.com/harupy"><code>@harupy</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6698">astral-sh/ruff#6698</a></li> <li>[<code>pylint</code>] Implement <code>no-self-use</code> (<code>R6301</code>) by <a href="https://github.com/LaBatata101"><code>@LaBatata101</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6574">astral-sh/ruff#6574</a></li> <li>[<code>pylint</code>] Extend <code>repeated-equality-comparison-target</code> to check for mixed orderings and Yoda conditions. by <a href="https://github.com/tjkuson"><code>@tjkuson</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6691">astral-sh/ruff#6691</a></li> </ul> <h3>Settings</h3> <ul> <li>Make isort's <code>detect-same-package</code> behavior configurable by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6833">astral-sh/ruff#6833</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Apply RUF017 when start is passed via position by <a href="https://github.com/hauntsaninja"><code>@hauntsaninja</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6664">astral-sh/ruff#6664</a></li> <li>Use <code>typing_extensions.TypeAlias</code> for PYI026 fixes on pre-3.10 by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6696">astral-sh/ruff#6696</a></li> <li>Ignore multi-comparisons in <code>repeated-equality-comparison-target</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6705">astral-sh/ruff#6705</a></li> <li>Accept empty inner calls in C414 by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6725">astral-sh/ruff#6725</a></li> <li>Allow next in FBT exclusions by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6729">astral-sh/ruff#6729</a></li> <li>Allow <code>ctypes.WinError()</code> in flake8-raise by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6731">astral-sh/ruff#6731</a></li> <li>Ignore star imports when importing symbols in fixes by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6743">astral-sh/ruff#6743</a></li> <li>Support C419 autofixes for set comprehensions by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6744">astral-sh/ruff#6744</a></li> <li>Avoid attempting to fix unconventional submodule imports by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6745">astral-sh/ruff#6745</a></li> <li>Don't trigger <code>eq-without-hash</code> when <code>__hash__</code> is explicitly set to <code>None</code> by <a href="https://github.com/LaBatata101"><code>@LaBatata101</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6739">astral-sh/ruff#6739</a></li> <li>Avoid E231 if comma is at end-of-line by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6747">astral-sh/ruff#6747</a></li> <li>Truncate some messages in diagnostics by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6748">astral-sh/ruff#6748</a></li> <li>Fix isolation groups for unused imports by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6774">astral-sh/ruff#6774</a></li> <li>Avoid fixing D200 for docstrings that end in escapes by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6779">astral-sh/ruff#6779</a></li> <li>Parenthesize expressions prior to LibCST parsing by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6742">astral-sh/ruff#6742</a></li> <li>Fallback to end-of-file if ends in trailing continuation by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6789">astral-sh/ruff#6789</a></li> <li>Confine repeated-equality-comparison-target to names and attributes by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6802">astral-sh/ruff#6802</a></li> <li>Fix <code>native-literals</code> handling of int literal with attribute access by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6792">astral-sh/ruff#6792</a></li> <li>Fix <code>uncessary-coding-comment</code> fix when there's leading content by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6775">astral-sh/ruff#6775</a></li> <li>Avoid attempting to fix PT018 in multi-statement lines by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6829">astral-sh/ruff#6829</a></li> <li>Update ERA100 to apply to commented dictionary items with trailing comments by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6822">astral-sh/ruff#6822</a></li> <li>Avoid parsing other parts of a format specification if replacements are present by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6858">astral-sh/ruff#6858</a></li> <li>Avoid panic in unused arguments rule for parameter-free lambda by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6679">astral-sh/ruff#6679</a></li> <li>Avoid <code>C417</code> for <code>lambda</code> with default and variadic parameters by <a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6752">astral-sh/ruff#6752</a></li> <li>Add <code>networkx</code> to conventional aliases by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6778">astral-sh/ruff#6778</a></li> <li>Skip serializing cell ID if it's None by <a href="https://github.com/harupy"><code>@harupy</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6851">astral-sh/ruff#6851</a></li> <li>fix is_raw_string for multiple prefixes by <a href="https://github.com/davidszotten"><code>@davidszotten</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6865">astral-sh/ruff#6865</a></li> <li>Add jupyter notebook cell ids in 4.5+ if missing by <a href="https://github.com/konstin"><code>@konstin</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6853">astral-sh/ruff#6853</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/astral-sh/ruff/compare/v0.0.285...v0.0.286">https://github.com/astral-sh/ruff/compare/v0.0.285...v0.0.286</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/91880b82738acb42d155369b44c20e70a5f5fd8c"><code>91880b8</code></a> Bump version to 0.0.286 (<a href="https://redirect.github.com/astral-sh/ruff/issues/6876">#6876</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/100904adb99cf38f4d9985d46b641997fca4419d"><code>100904a</code></a> Avoid parsing other parts of a format specification if replacements are prese...</li> <li><a href="https://github.com/astral-sh/ruff/commit/0bac7bd114deee10c4ce872d3a7604f22205b3bb"><code>0bac7bd</code></a> Update RUF100 test to reflect applicability (<a href="https://redirect.github.com/astral-sh/ruff/issues/6877">#6877</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f2eb7bcacf22a02b70792fe3ad1876b5b55611f9"><code>f2eb7bc</code></a> Update ERA100 to apply to commented dictionary items with trailing comments (...</li> <li><a href="https://github.com/astral-sh/ruff/commit/29a0c1003b6cfdd545ccdd85521bb5e666da2955"><code>29a0c10</code></a> Use <code>BestFit</code> layout even for attributes with a short name (<a href="https://redirect.github.com/astral-sh/ruff/issues/6872">#6872</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/15b7525464e3f7bd1d28d69a5feb0d50913906e2"><code>15b7525</code></a> Rename parser goal 'All' to 'all' (<a href="https://redirect.github.com/astral-sh/ruff/issues/6867">#6867</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/0b6dab5e3fd81611ebefa6b336b0122d3a2c61cb"><code>0b6dab5</code></a> Add jupyter notebook cell ids in 4.5+ if missing (<a href="https://redirect.github.com/astral-sh/ruff/issues/6853">#6853</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1c66bb80b70d36c0069a04ff174f165290f50aea"><code>1c66bb8</code></a> fix is_raw_string for multiple prefixes (<a href="https://redirect.github.com/astral-sh/ruff/issues/6865">#6865</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d1f07008f7ac08129ee1deb035e22967f06a4e25"><code>d1f0700</code></a> Rename Notebook related symbols (<a href="https://redirect.github.com/astral-sh/ruff/issues/6862">#6862</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/61b2ffa8e83b11fc96bdfdcef58bddaac3739db5"><code>61b2ffa</code></a> Add assert test cases (<a href="https://redirect.github.com/astral-sh/ruff/issues/6855">#6855</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.0.285...v0.0.286">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.285&new-version=0.0.286)](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