Skip to content

Update dependency ruff to v0.17.6 - #5639

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ruff-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ruff-0.x

Conversation

@renovate

@renovate renovate Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
ruff (source, changelog) ==0.17.0 → ==0.17.6 age confidence

Release Notes

astral-sh/ruff (ruff)

v0.17.6

Compare Source

Released on 2026-11-19.

Preview features
  • [flake8-type-checking] Add a fix for runtime-string-union (TC010) (#​15635)
Bug fixes
  • Fix handling of parenthesized duplicate items (B033, RUF068) (#​30493)
  • [pyflakes] Fix false negative when a name is assigned more than once (F823) (#​30524)
  • [pylint] Avoid false positive when collection is modified in loop (PLR1733, PLR1736) (#​30466)
  • [ruff] Avoid syntax error in useless-finally fix for inline try bodies (RUF072) (#​30349)
  • Treat relative imports from .__future__ as ordinary imports (#​30260)
Rule changes
  • [flake8-simplify] Avoid redundant bool wrappers in SIM208 fixes (#​30457)
  • [pyflakes] Ignore __traceback_hide__ in unused-variable (F841) (#​29600)
Performance
  • Decode in-memory notebooks directly from their source string (#​30385)
  • Short-circuit exact qualified-name checks (#​30058)
  • Stream JSON diagnostics to the output writer (#​30384)
Documentation
  • Fix the multiline string example in Known Deviations from Black (#​30447)
  • Include the category in individual rule documentation pages (#​30503)
Other changes
  • Update Rust toolchain to 1.100 and MSRV to 1.98 (#​30416)
Contributors

v0.17.5

Compare Source

Released on 2026-11-12.

Preview features
  • Redirect renamed rules (#​30081)
  • [flake8-async] Implement pytest-raises-exception-group (ASYNC401) (#​28772)
  • [flake8-logging-format] Mark G004 fix as unsafe (#​30087)
  • [pylint] Implement no-method-argument (PLE0211) (#​29748)
  • [refurb] Do not offer fix when write is nested in an expression (FURB103) (#​29789)
  • [ruff] Add renamed-rule (RUF202) (#​30079)
  • [ruff] Expand redirected-noqa to other suppression comments (RUF101) (#​30078)
Bug fixes
  • Avoid crashing when Ruff logs to a closed stderr pipe (#​30209)
  • Fix fixes that add or remove a keyword argument with a parenthesized value (#​30189)
  • [flake8-import-conventions] Avoid shadowing names when fixing import aliases (ICN001) (#​30035)
  • [flake8-bugbear] Fix B010 autofix for parenthesized setattr calls (#​30168)
  • [flake8-pyi] Fix PYI034 autofix for parenthesized self annotations (#​30173)
  • [pyupgrade] Fix UP031 duplicating closing parentheses around the format string (#​30172)
Rule changes
  • [flake8-bugbear] Ignore frozen dataclass instantiations (B008) (#​29231)
Performance
Other changes
  • Fix FreeBSD source builds with libc 0.2.190 (#​30176)
Contributors

v0.17.4

Compare Source

Released on 2026-11-05.

Preview features
  • [flake8-logging-format] Avoid behavior changes and syntax errors in fixes (G004) (#​27419)
  • [security] Implement tarfile-ignore-zeros-true (#​28680)
Bug fixes
  • Accept a bare raise before a semicolon (#​29761)
  • Allow match identifiers after a semicolon (#​29760)
  • Fix panic on BOM-prefixed files in diagnostic renderer (#​30017)
  • [flake8-simplify] Report collapsible elif clauses after a multi-statement if branch (SIM102) (#​29814)
Rule changes
  • Show more nonprinting characters in diagnostic fix diffs (#​30062)
Performance
  • Coalesce source slices when formatting attributes (#​29841)
  • Collect return statements with a statement-only visitor (#​29911)
  • [pyflakes] Defer value comparisons for repeated dictionary keys (F601, F602) (#​29739)
  • Format node fields directly when comment handling is unnecessary (#​29853)
  • Reduce formatter source-slice overhead (#​29855)
  • Reuse a callee's qualified name across lint rules (#​29916)
  • Skip invalid string character checks when the source contains none (#​29883)
  • Use a Bloom filter for formatter comment lookups (#​29852)
  • Use a concrete buffer for ordinary writes (#​29819)
CLI
  • Give NO_COLOR precedence in Ruff and ty diagnostics (#​29898)
  • Honor CLICOLOR=0 in Ruff and ty diagnostics (#​29910)
Documentation
  • Correct the documented version and src defaults for ruff-action (#​29880)
  • [flake8-bugbear] Make B014 example error out-of-the-box (#​29941)
  • [flake8-no-pep420] Document preview behavior (INP001) (#​29764)
  • [isort] Expand I001 documentation (#​29843)
Other changes
  • [syntax-errors] Extend __debug__ write check to attribute targets (#​27908)
Contributors

v0.17.3

Compare Source

Released on 2026-10-26.

Preview features
  • [suspicious] Add shared-clock-mock (#​29074)
Bug fixes
  • [pyupgrade] Avoid incorrect conversions to f-strings (UP032) (#​25485)
Performance
  • Buffer stdout in ruff format (#​29631)
  • Specialize ASCII identifier lexing (#​29503)
  • Speed up identifier and keyword lexing (#​29463)
Documentation
  • [flake8-bandit] Describe what the rule actually checks for httpx (S113) (#​27936)
Contributors

v0.17.2

Compare Source

Released on 2026-10-22.

Preview features
  • [complexity] Add unnecessary-regular-expression-compile (#​25533)
Bug fixes
  • Avoid syntax errors for type variables with starred constraints (UP040, UP046, UP047, RUF053) (#​28362)
  • [pydocstyle] Treat backslash-escaped *args and **kwargs as documented (D417) (#​29536)
  • [pylint] Avoid false positive on starred elements (PLE0643) (#​29483)
  • [pylint] Mark fixes unsafe when deleting comments (PLR5501, PLW0120) (#​29414)
  • [pyupgrade] Mark fix unsafe when deleting comments (UP035) (#​29413)
Performance
  • Avoid intermediate names in lint name resolution (#​29506)
  • Prefilter bidirectional Unicode checks by UTF-8 leading bytes (#​29561)
  • Share postfix parsing and reduce expression copies (#​29480)
Configuration
  • [pylint] Add a configurable allowlist for magic-value-comparison (PLR2004) (#​18961)
Documentation
  • Clarify documentation and correct stale guidance (#​29374)
  • [pyupgrade] Remove mentions of variance related to fix safety (UP040, UP047) (#​29592)
Contributors

v0.17.1

Compare Source

Released on 2026-10-15.

Preview features
  • [pycodestyle] Don't treat None, True, or False as keywords (E271-E274) (#​29322)
Bug fixes
  • Fix dedent with multiple leading comments (#​29382)
  • [flake8-pyi] Detect legacy positional-only parameters in __new__ methods (PYI063) (#​28502)
  • [flake8-pyi] Fix false positives on quoted annotations (PYI036) (#​29274)
  • [perflint] Avoid invalid comprehension suggestions (PERF401, PERF403) (#​29366)
Rule changes
  • Treat more collections and weakref containers as mutable (#​29213)
Documentation
  • [flake8-import-conventions] Update default and example aliases (#​29333)
Contributors

Configuration

📅 Schedule: (in timezone Europe/Amsterdam)

  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/ruff-0.x branch from 0810c6d to 61ecf6e Compare October 29, 2026 20:36
@renovate renovate Bot changed the title Update dependency ruff to v0.17.1 Update dependency ruff to v0.17.2 Oct 29, 2026
@renovate
renovate Bot force-pushed the renovate/ruff-0.x branch from 61ecf6e to 81f7939 Compare November 3, 2026 04:56
@renovate renovate Bot changed the title Update dependency ruff to v0.17.2 Update dependency ruff to v0.17.3 Nov 3, 2026
@renovate
renovate Bot force-pushed the renovate/ruff-0.x branch from 81f7939 to 25cf566 Compare November 13, 2026 04:30
@renovate renovate Bot changed the title Update dependency ruff to v0.17.3 Update dependency ruff to v0.17.4 Nov 13, 2026
@renovate
renovate Bot force-pushed the renovate/ruff-0.x branch from 25cf566 to e4da865 Compare November 20, 2026 03:13
@renovate renovate Bot changed the title Update dependency ruff to v0.17.4 Update dependency ruff to v0.17.5 Nov 20, 2026
@renovate
renovate Bot force-pushed the renovate/ruff-0.x branch from e4da865 to 17a1358 Compare November 26, 2026 17:28
@renovate renovate Bot changed the title Update dependency ruff to v0.17.5 Update dependency ruff to v0.17.6 Nov 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants