chore(deps): update dependency ruff to ^0.9.7 #287

Merged
Xefir merged 1 commits from renovate/ruff-0.x into master 2025-02-21 07:51:04 +00:00
Collaborator

This PR contains the following updates:

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

Release Notes

astral-sh/ruff (ruff)

v0.9.7

Compare Source

Preview features
  • Consider __new__ methods as special function type for enforcing class method or static method rules (#​13305)
  • [airflow] Improve the internal logic to differentiate deprecated symbols (AIR303) (#​16013)
  • [refurb] Manual timezone monkeypatching (FURB162) (#​16113)
  • [ruff] Implicit class variable in dataclass (RUF045) (#​14349)
  • [ruff] Skip singleton starred expressions for incorrectly-parenthesized-tuple-in-subscript (RUF031) (#​16083)
  • [refurb] Check for subclasses includes subscript expressions (FURB189) (#​16155)
Rule changes
  • [flake8-comprehensions]: Handle trailing comma in C403 fix (#​16110)
  • [flake8-debugger] Also flag sys.breakpointhook and sys.__breakpointhook__ (T100) (#​16191)
  • [pydocstyle] Handle arguments with the same names as sections (D417) (#​16011)
  • [pylint] Correct ordering of arguments in fix for if-stmt-min-max (PLR1730) (#​16080)
  • [pylint] Do not offer fix for raw strings (PLE251) (#​16132)
  • [pyupgrade] Do not upgrade functional TypedDicts with private field names to the class-based syntax (UP013) (#​16219)
  • [pyupgrade] Handle micro version numbers correctly (UP036) (#​16091)
  • [pyupgrade] Unwrap unary expressions correctly (UP018) (#​15919)
  • [ruff] Skip RUF001 diagnostics when visiting string type definitions (#​16122)
  • [flake8-pyi] Avoid flagging custom-typevar-for-self on metaclass methods (PYI019) (#​16141)
  • [pycodestyle] Exempt site.addsitedir(...) calls (E402) (#​16251)
Formatter
  • Fix unstable formatting of trailing end-of-line comments of parenthesized attribute values (#​16187)
Server
  • Fix handling of requests received after shutdown message (#​16262)
  • Ignore source.organizeImports.ruff and source.fixAll.ruff code actions for a notebook cell (#​16154)
  • Include document specific debug info for ruff.printDebugInformation (#​16215)
  • Update server to return the debug info as string with ruff.printDebugInformation (#​16214)
CLI
  • Warn on invalid noqa even when there are no diagnostics (#​16178)
  • Better error messages while loading configuration extends (#​15658)
Bug fixes
  • [refurb] Correctly handle lengths of literal strings in slice-to-remove-prefix-or-suffix (FURB188) (#​16237)
Documentation
  • Add FAQ entry for source.* code actions in Notebook (#​16212)
  • Add SECURITY.md (#​16224)

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.6` -> `^0.9.7` | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.9.7`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#097) [Compare Source](https://github.com/astral-sh/ruff/compare/0.9.6...0.9.7) ##### Preview features - Consider `__new__` methods as special function type for enforcing class method or static method rules ([#&#8203;13305](https://github.com/astral-sh/ruff/pull/13305)) - \[`airflow`] Improve the internal logic to differentiate deprecated symbols (`AIR303`) ([#&#8203;16013](https://github.com/astral-sh/ruff/pull/16013)) - \[`refurb`] Manual timezone monkeypatching (`FURB162`) ([#&#8203;16113](https://github.com/astral-sh/ruff/pull/16113)) - \[`ruff`] Implicit class variable in dataclass (`RUF045`) ([#&#8203;14349](https://github.com/astral-sh/ruff/pull/14349)) - \[`ruff`] Skip singleton starred expressions for `incorrectly-parenthesized-tuple-in-subscript` (`RUF031`) ([#&#8203;16083](https://github.com/astral-sh/ruff/pull/16083)) - \[`refurb`] Check for subclasses includes subscript expressions (`FURB189`) ([#&#8203;16155](https://github.com/astral-sh/ruff/pull/16155)) ##### Rule changes - \[`flake8-comprehensions`]: Handle trailing comma in `C403` fix ([#&#8203;16110](https://github.com/astral-sh/ruff/pull/16110)) - \[`flake8-debugger`] Also flag `sys.breakpointhook` and `sys.__breakpointhook__` (`T100`) ([#&#8203;16191](https://github.com/astral-sh/ruff/pull/16191)) - \[`pydocstyle`] Handle arguments with the same names as sections (`D417`) ([#&#8203;16011](https://github.com/astral-sh/ruff/pull/16011)) - \[`pylint`] Correct ordering of arguments in fix for `if-stmt-min-max` (`PLR1730`) ([#&#8203;16080](https://github.com/astral-sh/ruff/pull/16080)) - \[`pylint`] Do not offer fix for raw strings (`PLE251`) ([#&#8203;16132](https://github.com/astral-sh/ruff/pull/16132)) - \[`pyupgrade`] Do not upgrade functional `TypedDicts` with private field names to the class-based syntax (`UP013`) ([#&#8203;16219](https://github.com/astral-sh/ruff/pull/16219)) - \[`pyupgrade`] Handle micro version numbers correctly (`UP036`) ([#&#8203;16091](https://github.com/astral-sh/ruff/pull/16091)) - \[`pyupgrade`] Unwrap unary expressions correctly (`UP018`) ([#&#8203;15919](https://github.com/astral-sh/ruff/pull/15919)) - \[`ruff`] Skip `RUF001` diagnostics when visiting string type definitions ([#&#8203;16122](https://github.com/astral-sh/ruff/pull/16122)) - \[`flake8-pyi`] Avoid flagging `custom-typevar-for-self` on metaclass methods (`PYI019`) ([#&#8203;16141](https://github.com/astral-sh/ruff/pull/16141)) - \[`pycodestyle`] Exempt `site.addsitedir(...)` calls (`E402`) ([#&#8203;16251](https://github.com/astral-sh/ruff/pull/16251)) ##### Formatter - Fix unstable formatting of trailing end-of-line comments of parenthesized attribute values ([#&#8203;16187](https://github.com/astral-sh/ruff/pull/16187)) ##### Server - Fix handling of requests received after shutdown message ([#&#8203;16262](https://github.com/astral-sh/ruff/pull/16262)) - Ignore `source.organizeImports.ruff` and `source.fixAll.ruff` code actions for a notebook cell ([#&#8203;16154](https://github.com/astral-sh/ruff/pull/16154)) - Include document specific debug info for `ruff.printDebugInformation` ([#&#8203;16215](https://github.com/astral-sh/ruff/pull/16215)) - Update server to return the debug info as string with `ruff.printDebugInformation` ([#&#8203;16214](https://github.com/astral-sh/ruff/pull/16214)) ##### CLI - Warn on invalid `noqa` even when there are no diagnostics ([#&#8203;16178](https://github.com/astral-sh/ruff/pull/16178)) - Better error messages while loading configuration `extend`s ([#&#8203;15658](https://github.com/astral-sh/ruff/pull/15658)) ##### Bug fixes - \[`refurb`] Correctly handle lengths of literal strings in `slice-to-remove-prefix-or-suffix` (`FURB188`) ([#&#8203;16237](https://github.com/astral-sh/ruff/pull/16237)) ##### Documentation - Add FAQ entry for `source.*` code actions in Notebook ([#&#8203;16212](https://github.com/astral-sh/ruff/pull/16212)) - Add `SECURITY.md` ([#&#8203;16224](https://github.com/astral-sh/ruff/pull/16224)) </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-21 00:03:19 +00:00
chore(deps): update dependency ruff to ^0.9.7
All checks were successful
divent / lint (push) Successful in 1m55s
divent / docker (push) Successful in 1m36s
divent / pypi (push) Has been skipped
ea6a4d1003
Xefir merged commit a1c70ff0db into master 2025-02-21 07:51:04 +00:00
Xefir deleted branch renovate/ruff-0.x 2025-02-21 07:51:04 +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#287
No description provided.