← Back to Pull requests

Bump ruff from 0.17.4 to 0.17.5 #30

Closed
unknown closed this pull request without merging on Nov 22, 2026 00:48 UTC
View on GitHub
unknown unknown commented on Nov 18, 2026 00:24 UTC
Author

Bumps ruff from 0.17.4 to 0.17.5.
<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>0.17.5</h2>
<h2>Release Notes</h2>
<p>Released on 2026-11-12.</p>
<h3>Preview features</h3>
<ul>
<li>Redirect renamed rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/30081">#30081</a>)</li>
<li>[<code>flake8-async</code>] Implement <code>pytest-raises-exception-group</code> (<code>ASYNC401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/28772">#28772</a>)</li>
<li>[<code>flake8-logging-format</code>] Mark <code>G004</code> fix as unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/30087">#30087</a>)</li>
<li>[<code>pylint</code>] Implement <code>no-method-argument</code> (<code>PLE0211</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/29748">#29748</a>)</li>
<li>[<code>refurb</code>] Do not offer fix when <code>write</code> is nested in an expression (<code>FURB103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/29789">#29789</a>)</li>
<li>[<code>ruff</code>] Add <code>renamed-rule</code> (<code>RUF202</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30079">#30079</a>)</li>
<li>[<code>ruff</code>] Expand <code>redirected-noqa</code> to other suppression comments (<code>RUF101</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30078">#30078</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Avoid crashing when Ruff logs to a closed stderr pipe (<a href="https://redirect.github.com/astral-sh/ruff/pull/30209">#30209</a>)</li>
<li>Fix fixes that add or remove a keyword argument with a parenthesized value (<a href="https://redirect.github.com/astral-sh/ruff/pull/30189">#30189</a>)</li>
<li>[<code>flake8-import-conventions</code>] Avoid shadowing names when fixing import aliases (<code>ICN001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30035">#30035</a>)</li>
<li>[<code>flake8-bugbear</code>] Fix <code>B010</code> autofix for parenthesized <code>setattr</code> calls (<a href="https://redirect.github.com/astral-sh/ruff/pull/30168">#30168</a>)</li>
<li>[<code>flake8-pyi</code>] Fix <code>PYI034</code> autofix for parenthesized <code>self</code> annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/30173">#30173</a>)</li>
<li>[<code>pyupgrade</code>] Fix <code>UP031</code> duplicating closing parentheses around the format string (<a href="https://redirect.github.com/astral-sh/ruff/pull/30172">#30172</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Ignore frozen dataclass instantiations (<code>B008</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/29231">#29231</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Various performance improvements (<a href="https://redirect.github.com/astral-sh/ruff/pull/30375">#30375</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30211">#30211</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30368">#30368</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30259">#30259</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30354">#30354</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30115">#30115</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30133">#30133</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30132">#30132</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30358">#30358</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30135">#30135</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30369">#30369</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30351">#30351</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30352">#30352</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30347">#30347</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30379">#30379</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30328">#30328</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30329">#30329</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/29446">#29446</a>)</li>
</ul>
<h3>Other changes</h3>
<ul>
<li>Fix FreeBSD source builds with libc 0.2.190 (<a href="https://redirect.github.com/astral-sh/ruff/pull/30176">#30176</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a href="https://github.com/rajveer3x"><code>@​rajveer3x</code></a></li>
<li><a href="https://github.com/tjkuson"><code>@​tjkuson</code></a></li>
<li><a href="https://github.com/hugehoo"><code>@​hugehoo</code></a></li>
<li><a href="https://github.com/hector2394"><code>@​hector2394</code></a></li>
<li><a href="https://github.com/ansh-rohilla"><code>@​ansh-rohilla</code></a></li>
<li><a href="https://github.com/mati-caliz"><code>@​mati-caliz</code></a></li>
<li><a href="https://github.com/yxshee"><code>@​yxshee</code></a></li>
<li><a href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li>
<li><a href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li>
<li><a href="https://github.com/GeorgiaPreda"><code>@​GeorgiaPreda</code></a></li>
<li><a href="https://github.com/G26karthik"><code>@​G26karthik</code></a></li>
<li><a href="https://github.com/ntBre"><code>@​ntBre</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p>
<blockquote>
<h2>0.17.5</h2>
<p>Released on 2026-11-12.</p>
<h3>Preview features</h3>
<ul>
<li>Redirect renamed rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/30081">#30081</a>)</li>
<li>[<code>flake8-async</code>] Implement <code>pytest-raises-exception-group</code> (<code>ASYNC401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/28772">#28772</a>)</li>
<li>[<code>flake8-logging-format</code>] Mark <code>G004</code> fix as unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/30087">#30087</a>)</li>
<li>[<code>pylint</code>] Implement <code>no-method-argument</code> (<code>PLE0211</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/29748">#29748</a>)</li>
<li>[<code>refurb</code>] Do not offer fix when <code>write</code> is nested in an expression (<code>FURB103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/29789">#29789</a>)</li>
<li>[<code>ruff</code>] Add <code>renamed-rule</code> (<code>RUF202</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30079">#30079</a>)</li>
<li>[<code>ruff</code>] Expand <code>redirected-noqa</code> to other suppression comments (<code>RUF101</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30078">#30078</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Avoid crashing when Ruff logs to a closed stderr pipe (<a href="https://redirect.github.com/astral-sh/ruff/pull/30209">#30209</a>)</li>
<li>Fix fixes that add or remove a keyword argument with a parenthesized value (<a href="https://redirect.github.com/astral-sh/ruff/pull/30189">#30189</a>)</li>
<li>[<code>flake8-import-conventions</code>] Avoid shadowing names when fixing import aliases (<code>ICN001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30035">#30035</a>)</li>
<li>[<code>flake8-bugbear</code>] Fix <code>B010</code> autofix for parenthesized <code>setattr</code> calls (<a href="https://redirect.github.com/astral-sh/ruff/pull/30168">#30168</a>)</li>
<li>[<code>flake8-pyi</code>] Fix <code>PYI034</code> autofix for parenthesized <code>self</code> annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/30173">#30173</a>)</li>
<li>[<code>pyupgrade</code>] Fix <code>UP031</code> duplicating closing parentheses around the format string (<a href="https://redirect.github.com/astral-sh/ruff/pull/30172">#30172</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Ignore frozen dataclass instantiations (<code>B008</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/29231">#29231</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Various performance improvements (<a href="https://redirect.github.com/astral-sh/ruff/pull/30375">#30375</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30211">#30211</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30368">#30368</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30259">#30259</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30354">#30354</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30115">#30115</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30133">#30133</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30132">#30132</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30358">#30358</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30135">#30135</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30369">#30369</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30351">#30351</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30352">#30352</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30347">#30347</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30379">#30379</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30328">#30328</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/30329">#30329</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/29446">#29446</a>)</li>
</ul>
<h3>Other changes</h3>
<ul>
<li>Fix FreeBSD source builds with libc 0.2.190 (<a href="https://redirect.github.com/astral-sh/ruff/pull/30176">#30176</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a href="https://github.com/rajveer3x"><code>@​rajveer3x</code></a></li>
<li><a href="https://github.com/tjkuson"><code>@​tjkuson</code></a></li>
<li><a href="https://github.com/hugehoo"><code>@​hugehoo</code></a></li>
<li><a href="https://github.com/hector2394"><code>@​hector2394</code></a></li>
<li><a href="https://github.com/ansh-rohilla"><code>@​ansh-rohilla</code></a></li>
<li><a href="https://github.com/mati-caliz"><code>@​mati-caliz</code></a></li>
<li><a href="https://github.com/yxshee"><code>@​yxshee</code></a></li>
<li><a href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li>
<li><a href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li>
<li><a href="https://github.com/GeorgiaPreda"><code>@​GeorgiaPreda</code></a></li>
<li><a href="https://github.com/G26karthik"><code>@​G26karthik</code></a></li>
<li><a href="https://github.com/ntBre"><code>@​ntBre</code></a></li>
<li><a href="https://github.com/s-cork"><code>@​s-cork</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/astral-sh/ruff/commit/c91de8a012cb87efe279b762020a0d28dd75ddb5"><code>c91de8a</code></a> Skip the W605 source scan when a literal has no decoded backslash (<a href="https://redirect.github.com/astral-sh/ruff/issues/30376">#30376</a>)</li>
<li><a href="https://github.com/astral-sh/ruff/commit/0ebb77d35c20d70557b7e47a9b902106590ea6f3"><code>0ebb77d</code></a> Bump version to 0.17.5 (<a href="https://redirect.github.com/astral-sh/ruff/issues/30380">#30380</a>)</li>
<li><a href="https://github.com/astral-sh/ruff/commit/1236ea23b4cdc13a9cbe0a784f4714939dad0426"><code>1236ea2</code></a> Defer the metaclass check in PYI034 (<a href="https://redirect.github.com/astral-sh/ruff/issues/30373">#30373</a>)</li>
<li><a href="https://github.com/astral-sh/ruff/commit/0b4359778d40e1237f8162c498793c07803043d2"><code>0b43597</code></a> Parse hex escapes one ASCII byte at a time (<a href="https://redirect.github.com/astral-sh/ruff/issues/30374">#30374</a>)</li>
<li><a href="https://github.com/astral-sh/ruff/commit/427ae55df9081405c72629bf2574ebc50d1a8d63"><code>427ae55</code></a> Move the <code>grouped</code> output format into <code>ruff_db</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/30290">#30290</a>)</li>
<li><a href="https://github.com/astral-sh/ruff/commit/f96ec54d43b787f6829b3d60e9823e16f053551d"><code>f96ec54</code></a> Apply per-file ignores as rule sets (<a href="https://redirect.github.com/astral-sh/ruff/issues/30375">#30375</a>)</li>
<li><a href="https://github.com/astral-sh/ruff/commit/489b338c26c0052372df1ced4ee6bebe29853a7f"><code>489b338</code></a> [ty] Rename <code>call-top-callable</code> to <code>call-to-function-with-unknown-signature</code> ...</li>
<li><a href="https://github.com/astral-sh/ruff/commit/3ffff35f6cfb752151c823ccc47c3375cd1f5f36"><code>3ffff35</code></a> Speed up streaming notebook reads (<a href="https://redirect.github.com/astral-sh/ruff/issues/30379">#30379</a>)</li>
<li><a href="https://github.com/astral-sh/ruff/commit/75938f698e53b07ee49ae40825f397afd5ac0bff"><code>75938f6</code></a> Short-circuit typing member checks before resolving qualified names (<a href="https://redirect.github.com/astral-sh/ruff/issues/30369">#30369</a>)</li>
<li><a href="https://github.com/astral-sh/ruff/commit/5a784dfbd41ce30b68e0dbff30c2891e73bd317a"><code>5a784df</code></a> Inline public <code>Cursor</code> methods across crates (<a href="https://redirect.github.com/astral-sh/ruff/issues/30368">#30368</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.17.4...0.17.5">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](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 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>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: benzaidfoued Review duration: 5783m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #30"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 22.5% · Safe to merge
    22.5%