chore(deps): update dependency ruff to ^0.9.6 #286

Merged
Xefir merged 1 commits from renovate/ruff-0.x into master 2025-02-11 08:14:47 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
ruff (source, changelog) dev-dependencies patch ^0.9.5 -> ^0.9.6

Release Notes

astral-sh/ruff (ruff)

v0.9.6

Compare Source

Preview features
  • [airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR302 (#​16014)
  • [flake8-builtins] Make strict module name comparison optional (A005) (#​15951)
  • [flake8-pyi] Extend fix to Python <= 3.9 for redundant-none-literal (PYI061) (#​16044)
  • [pylint] Also report when the object isn't a literal (PLE1310) (#​15985)
  • [ruff] Implement indented-form-feed (RUF054) (#​16049)
  • [ruff] Skip type definitions for missing-f-string-syntax (RUF027) (#​16054)
Rule changes
  • [flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules (#​16025)
  • [flake8-builtins] Match upstream module name comparison (A005) (#​16006)
  • [flake8-comprehensions] Detect overshadowed list/set/dict, ignore variadics and named expressions (C417) (#​15955)
  • [flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800) (#​16008)
  • [flake8-simplify] Only trigger SIM401 on known dictionaries (#​15995)
  • [pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310) (#​15984)
  • [pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040) (#​16027)
  • [pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040) (#​16026)
  • [pyupgrade] Ensure we do not rename two type parameters to the same name (UP049) (#​16038)
  • [pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049, RUF052) (#​16032)
  • [ruff] Update RUF009 to behave similar to B008 and ignore attributes with immutable types (#​16048)
Server
  • Root exclusions in the server to project root (#​16043)
Bug fixes
  • [flake8-datetime] Ignore .replace() calls while looking for .astimezone (#​16050)
  • [flake8-type-checking] Avoid TC004 false positive where the runtime definition is provided by __getattr__ (#​16052)
Documentation
  • Improve ruff-lsp migration document (#​16072)
  • Undeprecate ruff.nativeServer (#​16039)

Configuration

📅 Schedule: 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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://github.com/astral-sh/ruff), [changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | dev-dependencies | patch | `^0.9.5` -> `^0.9.6` | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.9.6`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#096) [Compare Source](https://github.com/astral-sh/ruff/compare/0.9.5...0.9.6) ##### Preview features - \[`airflow`] Add `external_task.{ExternalTaskMarker, ExternalTaskSensor}` for `AIR302` ([#&#8203;16014](https://github.com/astral-sh/ruff/pull/16014)) - \[`flake8-builtins`] Make strict module name comparison optional (`A005`) ([#&#8203;15951](https://github.com/astral-sh/ruff/pull/15951)) - \[`flake8-pyi`] Extend fix to Python <= 3.9 for `redundant-none-literal` (`PYI061`) ([#&#8203;16044](https://github.com/astral-sh/ruff/pull/16044)) - \[`pylint`] Also report when the object isn't a literal (`PLE1310`) ([#&#8203;15985](https://github.com/astral-sh/ruff/pull/15985)) - \[`ruff`] Implement `indented-form-feed` (`RUF054`) ([#&#8203;16049](https://github.com/astral-sh/ruff/pull/16049)) - \[`ruff`] Skip type definitions for `missing-f-string-syntax` (`RUF027`) ([#&#8203;16054](https://github.com/astral-sh/ruff/pull/16054)) ##### Rule changes - \[`flake8-annotations`] Correct syntax for `typing.Union` in suggested return type fixes for `ANN20x` rules ([#&#8203;16025](https://github.com/astral-sh/ruff/pull/16025)) - \[`flake8-builtins`] Match upstream module name comparison (`A005`) ([#&#8203;16006](https://github.com/astral-sh/ruff/pull/16006)) - \[`flake8-comprehensions`] Detect overshadowed `list`/`set`/`dict`, ignore variadics and named expressions (`C417`) ([#&#8203;15955](https://github.com/astral-sh/ruff/pull/15955)) - \[`flake8-pie`] Remove following comma correctly when the unpacked dictionary is empty (`PIE800`) ([#&#8203;16008](https://github.com/astral-sh/ruff/pull/16008)) - \[`flake8-simplify`] Only trigger `SIM401` on known dictionaries ([#&#8203;15995](https://github.com/astral-sh/ruff/pull/15995)) - \[`pylint`] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (`PLE1310`) ([#&#8203;15984](https://github.com/astral-sh/ruff/pull/15984)) - \[`pyupgrade`] Comments within parenthesized value ranges should not affect applicability (`UP040`) ([#&#8203;16027](https://github.com/astral-sh/ruff/pull/16027)) - \[`pyupgrade`] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (`UP040`) ([#&#8203;16026](https://github.com/astral-sh/ruff/pull/16026)) - \[`pyupgrade`] Ensure we do not rename two type parameters to the same name (`UP049`) ([#&#8203;16038](https://github.com/astral-sh/ruff/pull/16038)) - \[`pyupgrade`] \[`ruff`] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (`UP049`, `RUF052`) ([#&#8203;16032](https://github.com/astral-sh/ruff/pull/16032)) - \[`ruff`] Update `RUF009` to behave similar to `B008` and ignore attributes with immutable types ([#&#8203;16048](https://github.com/astral-sh/ruff/pull/16048)) ##### Server - Root exclusions in the server to project root ([#&#8203;16043](https://github.com/astral-sh/ruff/pull/16043)) ##### Bug fixes - \[`flake8-datetime`] Ignore `.replace()` calls while looking for `.astimezone` ([#&#8203;16050](https://github.com/astral-sh/ruff/pull/16050)) - \[`flake8-type-checking`] Avoid `TC004` false positive where the runtime definition is provided by `__getattr__` ([#&#8203;16052](https://github.com/astral-sh/ruff/pull/16052)) ##### Documentation - Improve `ruff-lsp` migration document ([#&#8203;16072](https://github.com/astral-sh/ruff/pull/16072)) - Undeprecate `ruff.nativeServer` ([#&#8203;16039](https://github.com/astral-sh/ruff/pull/16039)) </details> --- ### Configuration 📅 **Schedule**: 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 [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODEuNiIsInVwZGF0ZWRJblZlciI6IjM3LjE4MS42IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Renovate added 1 commit 2025-02-11 00:02:47 +00:00
chore(deps): update dependency ruff to ^0.9.6
All checks were successful
divent / lint (push) Successful in 1m33s
divent / docker (push) Successful in 1m21s
divent / pypi (push) Has been skipped
e8934af706
Xefir merged commit 85f3ac366d into master 2025-02-11 08:14:47 +00:00
Xefir deleted branch renovate/ruff-0.x 2025-02-11 08:14:47 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Xefir/Divent#286
No description provided.