chore(deps): update dependency ruff to v0.16.9 #15

Merged
xlionjuan merged 1 commit from renovate/ruff-0.x into main 2026-10-03 18:32:28 +00:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
ruff (source, changelog) ==0.16.7 → ==0.16.9 age confidence

Release Notes

astral-sh/ruff (ruff)

v0.16.9

Compare Source

Released on 2026-09-24.

Preview features
  • [ruff] Avoid false positives for overloaded division (RUF069) (#​28309)
Bug fixes
  • [flake8-bugbear] Avoid false positives for calls with keyword arguments (B009, B010, B043) (#​28776)
  • [flake8-tidy-imports] Allow lazy imports to be used in deferred annotations (TID255) (#​28767)
Rule changes
  • Update LibCST-based fixes for Python 3.15 (#​28616)
  • [flake8-pyi] Mention stubs in the diagnostic message (PYI002) (#​28542)
Documentation
  • Fix horizontal overflow on the rules documentation page (#​28699)
  • Update rules table with category information (#​28651)
  • [flake8-annotations] Clarify that ANN401 checks return types in addition to arguments (#​28334)
  • [flake8-bugbear] Document type-checker interaction (B010) (#​28509)
  • [flake8-comprehensions] Document map/generator exception behavior (C417) (#​27794)
  • [ruff] Mention related isort settings (RUF022) (#​28719)
Contributors

v0.16.8

Compare Source

Released on 2026-09-16.

Bug fixes
  • Visit functional TypedDict keyword arguments correctly (#​28584)
  • [flake8-simplify] Detect nested async with under sync parent (SIM117) (#​27821)
  • [flake8-simplify] Preserve operand order in SIM109 fix (#​27824)
  • [pyupgrade] Preserve required parentheses in multiline UP040 fixes (#​28164)
  • [pyupgrade] Skip TypeVarTuple and ParamSpec conversions with bounds or constraints (UP040, UP046, UP047) (#​28505)
Rule changes
  • Add support for __lazy_modules__ (#​28459)
  • Recognize PEP-728 TypedDict class keywords (#​28533)
  • Recognize quoted types in typing.TypeForm (#​28507)
  • Support conditional assignment to __lazy_modules__ (#​28491)
  • [flake8-type-checking] Prefer lazy imports over TYPE_CHECKING on Python 3.15 and later (TC001, TC002, TC003) (#​28541)
  • [pyupgrade] Make the fix for UP040 always unsafe (#​28526)
  • [pyupgrade] Stop recommending deprecated ByteString aliases (UP035) (#​28498)
  • [ruff, flake8-use-pathlib] Recognize the parent_mode argument (RUF064, PTH103) (#​28528)
  • [ruff] Detect \Z in pytest.raises() match patterns (RUF043) (#​28598)
CLI
  • Use rule name and code in formatter incompatibility warnings (#​28571)
Configuration
  • [flake8-tidy-imports] Add extend-banned-api (#​28644)
Contributors

Configuration

📅 Schedule: (in timezone Asia/Taipei)

  • 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 has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://github.com/astral-sh/ruff), [changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `==0.16.7` → `==0.16.9` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.16.9?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.16.7/0.16.9?slim=true) | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.16.9`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0169) [Compare Source](https://github.com/astral-sh/ruff/compare/0.16.8...0.16.9) Released on 2026-09-24. ##### Preview features - \[`ruff`] Avoid false positives for overloaded division (`RUF069`) ([#&#8203;28309](https://github.com/astral-sh/ruff/pull/28309)) ##### Bug fixes - \[`flake8-bugbear`] Avoid false positives for calls with keyword arguments (`B009`, `B010`, `B043`) ([#&#8203;28776](https://github.com/astral-sh/ruff/pull/28776)) - \[`flake8-tidy-imports`] Allow lazy imports to be used in deferred annotations (`TID255`) ([#&#8203;28767](https://github.com/astral-sh/ruff/pull/28767)) ##### Rule changes - Update LibCST-based fixes for Python 3.15 ([#&#8203;28616](https://github.com/astral-sh/ruff/pull/28616)) - \[`flake8-pyi`] Mention stubs in the diagnostic message (`PYI002`) ([#&#8203;28542](https://github.com/astral-sh/ruff/pull/28542)) ##### Documentation - Fix horizontal overflow on the rules documentation page ([#&#8203;28699](https://github.com/astral-sh/ruff/pull/28699)) - Update rules table with category information ([#&#8203;28651](https://github.com/astral-sh/ruff/pull/28651)) - \[`flake8-annotations`] Clarify that `ANN401` checks return types in addition to arguments ([#&#8203;28334](https://github.com/astral-sh/ruff/pull/28334)) - \[`flake8-bugbear`] Document type-checker interaction (`B010`) ([#&#8203;28509](https://github.com/astral-sh/ruff/pull/28509)) - \[`flake8-comprehensions`] Document `map`/generator exception behavior (`C417`) ([#&#8203;27794](https://github.com/astral-sh/ruff/pull/27794)) - \[`ruff`] Mention related isort settings (`RUF022`) ([#&#8203;28719](https://github.com/astral-sh/ruff/pull/28719)) ##### Contributors - [@&#8203;qinpei-dev](https://github.com/qinpei-dev) - [@&#8203;sanjayrohith](https://github.com/sanjayrohith) - [@&#8203;ntBre](https://github.com/ntBre) - [@&#8203;webdevsamran](https://github.com/webdevsamran) - [@&#8203;zaniebot](https://github.com/zaniebot) - [@&#8203;ewdurbin](https://github.com/ewdurbin) - [@&#8203;MichaReiser](https://github.com/MichaReiser) - [@&#8203;spaceone](https://github.com/spaceone) - [@&#8203;IbrahimKhan12](https://github.com/IbrahimKhan12) - [@&#8203;devtechedge](https://github.com/devtechedge) - [@&#8203;GruffElixir](https://github.com/GruffElixir) ### [`v0.16.8`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0168) [Compare Source](https://github.com/astral-sh/ruff/compare/0.16.7...0.16.8) Released on 2026-09-16. ##### Bug fixes - Visit functional `TypedDict` keyword arguments correctly ([#&#8203;28584](https://github.com/astral-sh/ruff/pull/28584)) - \[`flake8-simplify`] Detect nested `async with` under sync parent (`SIM117`) ([#&#8203;27821](https://github.com/astral-sh/ruff/pull/27821)) - \[`flake8-simplify`] Preserve operand order in `SIM109` fix ([#&#8203;27824](https://github.com/astral-sh/ruff/pull/27824)) - \[`pyupgrade`] Preserve required parentheses in multiline `UP040` fixes ([#&#8203;28164](https://github.com/astral-sh/ruff/pull/28164)) - \[`pyupgrade`] Skip `TypeVarTuple` and `ParamSpec` conversions with bounds or constraints (`UP040`, `UP046`, `UP047`) ([#&#8203;28505](https://github.com/astral-sh/ruff/pull/28505)) ##### Rule changes - Add support for `__lazy_modules__` ([#&#8203;28459](https://github.com/astral-sh/ruff/pull/28459)) - Recognize PEP-728 `TypedDict` class keywords ([#&#8203;28533](https://github.com/astral-sh/ruff/pull/28533)) - Recognize quoted types in `typing.TypeForm` ([#&#8203;28507](https://github.com/astral-sh/ruff/pull/28507)) - Support conditional assignment to `__lazy_modules__` ([#&#8203;28491](https://github.com/astral-sh/ruff/pull/28491)) - \[`flake8-type-checking`] Prefer lazy imports over `TYPE_CHECKING` on Python 3.15 and later (`TC001`, `TC002`, `TC003`) ([#&#8203;28541](https://github.com/astral-sh/ruff/pull/28541)) - \[`pyupgrade`] Make the fix for `UP040` always unsafe ([#&#8203;28526](https://github.com/astral-sh/ruff/pull/28526)) - \[`pyupgrade`] Stop recommending deprecated `ByteString` aliases (`UP035`) ([#&#8203;28498](https://github.com/astral-sh/ruff/pull/28498)) - \[`ruff`, `flake8-use-pathlib`] Recognize the `parent_mode` argument (`RUF064`, `PTH103`) ([#&#8203;28528](https://github.com/astral-sh/ruff/pull/28528)) - \[`ruff`] Detect `\Z` in `pytest.raises()` match patterns (`RUF043`) ([#&#8203;28598](https://github.com/astral-sh/ruff/pull/28598)) ##### CLI - Use rule name and code in formatter incompatibility warnings ([#&#8203;28571](https://github.com/astral-sh/ruff/pull/28571)) ##### Configuration - \[`flake8-tidy-imports`] Add `extend-banned-api` ([#&#8203;28644](https://github.com/astral-sh/ruff/pull/28644)) ##### Contributors - [@&#8203;VedantMadane](https://github.com/VedantMadane) - [@&#8203;alzeph](https://github.com/alzeph) - [@&#8203;charliermarsh](https://github.com/charliermarsh) - [@&#8203;fredrikblau](https://github.com/fredrikblau) - [@&#8203;ntBre](https://github.com/ntBre) - [@&#8203;zsol](https://github.com/zsol) - [@&#8203;Aniket-a14](https://github.com/Aniket-a14) - [@&#8203;r-b-1](https://github.com/r-b-1) </details> --- ### Configuration 📅 **Schedule**: (in timezone Asia/Taipei) - 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 has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC45NC4zIiwidXBkYXRlZEluVmVyIjoiNDQuMTI2LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
chore(deps): update dependency ruff to v0.16.8
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
Deploy Pages / deploy (pull_request) Successful in 45s
Checks / checks (pull_request) Successful in 1m6s
296e7f341b
renovatebot force-pushed renovate/ruff-0.x from 296e7f341b
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
Deploy Pages / deploy (pull_request) Successful in 45s
Checks / checks (pull_request) Successful in 1m6s
to a498f44545
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
Deploy Pages / deploy (pull_request) Successful in 39s
Checks / checks (pull_request) Successful in 1m19s
2026-09-28 04:48:33 +00:00
Compare
renovatebot changed title from chore(deps): update dependency ruff to v0.16.8 to chore(deps): update dependency ruff to v0.16.9 2026-09-28 04:48:38 +00:00
xlionjuan deleted branch renovate/ruff-0.x 2026-10-03 18:32:29 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
infra/dns-blocklist-mirror!15
No description provided.