← Back to Pull requests

Update dependency ruff to v0.17.6 #51

Closed
unknown closed this pull request without merging on Nov 25, 2026 07:48 UTC
View on GitHub
unknown unknown commented on Nov 24, 2026 23:50 UTC
Author

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| ruff (source, changelog) | ==0.17.5 → ==0.17.6 | !age | !confidence |

---

Release Notes

<details>
<summary>astral-sh/ruff (ruff)</summary>

v0.17.6

Compare Source

Released on 2026-11-19.

##### Preview features

  • \[flake8-type-checking] Add a fix for runtime-string-union (TC010) (#&#8203;15635)
  • ##### Bug fixes

  • Fix handling of parenthesized duplicate items (B033, RUF068) (#&#8203;30493)

  • \[pyflakes] Fix false negative when a name is assigned more than once (F823) (#&#8203;30524)

  • \[pylint] Avoid false positive when collection is modified in loop (PLR1733, PLR1736) (#&#8203;30466)

  • \[ruff] Avoid syntax error in useless-finally fix for inline try bodies (RUF072) (#&#8203;30349)

  • Treat relative imports from .__future__ as ordinary imports (#&#8203;30260)
  • ##### Rule changes

  • \[flake8-simplify] Avoid redundant bool wrappers in SIM208 fixes (#&#8203;30457)

  • \[pyflakes] Ignore __traceback_hide__ in unused-variable (F841) (#&#8203;29600)
  • ##### Performance

  • Decode in-memory notebooks directly from their source string (#&#8203;30385)

  • Short-circuit exact qualified-name checks (#&#8203;30058)

  • Stream JSON diagnostics to the output writer (#&#8203;30384)
  • ##### Documentation

  • Fix the multiline string example in Known Deviations from Black (#&#8203;30447)

  • Include the category in individual rule documentation pages (#&#8203;30503)
  • ##### Other changes

  • Update Rust toolchain to 1.100 and MSRV to 1.98 (#&#8203;30416)
  • ##### Contributors

  • @&#8203;pseudo-usama

  • @&#8203;G26karthik

  • @&#8203;MichaReiser

  • @&#8203;apathydevil

  • @&#8203;Shivansh-S17

  • @&#8203;charliermarsh

  • @&#8203;ntBre

  • @&#8203;anujdas

  • @&#8203;chammika

  • @&#8203;imryanthedev

  • @&#8203;Daverball
  • </details>

    ---

    Configuration

    📅 Schedule: (UTC)

  • Branch creation

  • - At any time (no schedule defined)
  • Automerge

  • - At any time (no schedule defined)

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

    ---

    This PR was generated by Mend Renovate. View the repository job log.
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTcuMyIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ny4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

    Diff: 563 lines (+422 / -141) across 7 files Reviewer: snazy Review duration: 478m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.50) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.50 · 563 lines diff across 7 files
    0.50
    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.379
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #51"
    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: 49.7% (MEDIUM) · Higher = larger blast radius
    49.7%
    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: 21.5% · Safe to merge
    21.5%