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.284 to 0.0.285 (#221)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.284 to 0.0.285. <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.285</h2> <h2>What's Changed</h2> <h3>New rules</h3> <ul> <li>[<code>flake8-pytest-style</code>] Implement <code>pytest-unittest-raises-assertion</code> (<code>PT027</code>) by <a href="https://github.com/harupy"><code>@harupy</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6554">astral-sh/ruff#6554</a></li> <li>[<code>flake8-pytest-style</code>] Implement <code>pytest-duplicate-parametrize-test-cases</code> (<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/6598">astral-sh/ruff#6598</a></li> <li>[<code>flake8-tidy-imports</code>] Implement <code>banned-module-level-imports</code> (<code>TID253</code>) by <a href="https://github.com/durumu"><code>@durumu</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6378">astral-sh/ruff#6378</a></li> <li>[<code>pylint</code>] Implement <code>bad-dunder-name</code> (<code>W3201</code>) (in the Ruff nursery) by <a href="https://github.com/LaBatata101"><code>@LaBatata101</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6486">astral-sh/ruff#6486</a></li> <li>[<code>pylint</code>] Implement <code>subprocess-run-check</code> (<code>W1510</code>) by <a href="https://github.com/tjkuson"><code>@tjkuson</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6487">astral-sh/ruff#6487</a></li> <li>[<code>ruff</code>] Implement <code>quadratic-list-summation</code> (<code>RUF017</code>) by <a href="https://github.com/evanrittenhouse"><code>@evanrittenhouse</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6489">astral-sh/ruff#6489</a></li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Add autofix for <code>B006</code> by <a href="https://github.com/qdegraaf"><code>@qdegraaf</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6131">astral-sh/ruff#6131</a></li> <li>[<code>flake8-pyi</code>] Avoid applying <code>PYI055</code> to runtime-evaluated annotations by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6457">astral-sh/ruff#6457</a></li> <li>[<code>flake8-self</code>] Allow <code>os._exit</code> accesses in <code>SLF001</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6490">astral-sh/ruff#6490</a></li> <li>[<code>perflint</code>] Ignore <code>PERF203</code> if <code>try</code> contains loop control flow statements by <a href="https://github.com/evanrittenhouse"><code>@evanrittenhouse</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6536">astral-sh/ruff#6536</a></li> <li>[<code>pylint</code>] Check for invalid format type specifiers in nested replacements for <code>PLE1300</code> by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6616">astral-sh/ruff#6616</a></li> <li>[<code>tryceratops</code>] Omit <code>NotImplementedError</code> from <code>TRY003</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6568">astral-sh/ruff#6568</a></li> </ul> <h3>Settings</h3> <ul> <li>Respect <code>.ipynb</code> and <code>.pyi</code> sources when linting from stdin by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6628">astral-sh/ruff#6628</a></li> <li>Support glob patterns for <code>raises_require_match_for</code> and <code>raises_require_match_for</code> by <a href="https://github.com/harupy"><code>@harupy</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6635">astral-sh/ruff#6635</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Make <code>lambda-assignment</code> fix always-manual in class bodies by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6626">astral-sh/ruff#6626</a></li> <li>Fix counting of message arguments when msg is provided as a keyword by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6456">astral-sh/ruff#6456</a></li> <li>Add container types to <code>E721</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6469">astral-sh/ruff#6469</a></li> <li>Respect scoping rules when identifying builtins by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6468">astral-sh/ruff#6468</a></li> <li>Respect tab width in line-length heuristic by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6491">astral-sh/ruff#6491</a></li> <li>Respect dummy-variable-rgx for unused bound exceptions by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6492">astral-sh/ruff#6492</a></li> <li>Fix detection of top-level imports with newlines in <code>E402</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6526">astral-sh/ruff#6526</a></li> <li>Allow if-expression with dual string arms in <code>invalid-envvar-value</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6538">astral-sh/ruff#6538</a></li> <li>Add deprecated unittest assertions to PT009 by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6572">astral-sh/ruff#6572</a></li> <li>Avoid unused argument rules when functions call <code>locals()</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6578">astral-sh/ruff#6578</a></li> <li>Allow top-level <code>await</code> in Jupyter notebooks by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6607">astral-sh/ruff#6607</a></li> <li>Don't detect <code>pandas#values</code> for stores, deletes, or class accesses by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6631">astral-sh/ruff#6631</a></li> <li>Avoid removing parentheses in <code>E712</code> fix by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6575">astral-sh/ruff#6575</a></li> <li>Skip whitespace between comments at start of file e.g. for <code>I002</code> by <a href="https://github.com/durumu"><code>@durumu</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6523">astral-sh/ruff#6523</a></li> <li>Add support for nested replacements inside format specifications e.g. for <code>PLE1300</code> by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6616">astral-sh/ruff#6616</a></li> </ul> <h3>Playground</h3> <ul> <li>Shared playground links now use short URLs by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6383">astral-sh/ruff#6383</a></li> <li>Fix possible JSON parse error on playground load by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6519">astral-sh/ruff#6519</a></li> <li>Fix unreachable panic in playground by <a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6623">astral-sh/ruff#6623</a></li> </ul> <h3>Performance</h3> <ul> <li>Improve tokenizer performance for ASCII only identifiers by <a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6609">astral-sh/ruff#6609</a></li> </ul> <h2>New Contributors</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/5892c691ea6389dcf53b2212bae7a3acd61ca15f"><code>5892c69</code></a> Bump version to 0.0.285 (<a href="https://redirect.github.com/astral-sh/ruff/issues/6660">#6660</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/82e0a97b34ad506d3762b531cded138b4119cbc5"><code>82e0a97</code></a> Clarify behavior of <code>PLW3201</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/6657">#6657</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a8d7bbae6f8a1e6d425179895528a7e2127ab092"><code>a8d7bba</code></a> Remove experimental label from Jupyter docs (<a href="https://redirect.github.com/astral-sh/ruff/issues/6655">#6655</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1050142a5822db09888042da641c5b2fe6ab3aae"><code>1050142</code></a> Expand expressions to include parentheses in E712 (<a href="https://redirect.github.com/astral-sh/ruff/issues/6575">#6575</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/db1c5565083fe16b3e2c8892a39412e464b320a1"><code>db1c556</code></a> Implement <code>Ranged</code> on more structs (<a href="https://redirect.github.com/astral-sh/ruff/issues/6639">#6639</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a70807e1e12e6ebac461d54e25247df81655a4e1"><code>a70807e</code></a> Expand <code>NamedExpr</code> range to include full range of parenthesized value (<a href="https://redirect.github.com/astral-sh/ruff/issues/6632">#6632</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d9bb51dee4d455bbc18c1ebe6e8c2913790e5b0e"><code>d9bb51d</code></a> ci(deps): bump cloudflare/wrangler-action from 3.0.0 to 3.0.2 (<a href="https://redirect.github.com/astral-sh/ruff/issues/6565">#6565</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d0f2a8e424a7914357d892b3d2ec327735d309d5"><code>d0f2a8e</code></a> Add support for nested replacements inside format specifications (<a href="https://redirect.github.com/astral-sh/ruff/issues/6616">#6616</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1334232168972f340e515463afe57ec9867eb678"><code>1334232</code></a> Introduce <code>ExpressionRef</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/6637">#6637</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/fa7442da2f2d43b65107e41994bbce7ac624faee"><code>fa7442d</code></a> Support <code>fmt: skip</code> on compound statements (<a href="https://redirect.github.com/astral-sh/ruff/issues/6593">#6593</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.0.284...v0.0.285">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.284&new-version=0.0.285)](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information