chore(deps): update dependency ruff to v0.5.3 #219

Merged
Xefir merged 1 commits from renovate/ruff-0.x-lockfile into master 2024-07-19 12:11:32 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
ruff (source, changelog) dev-dependencies patch 0.5.2 -> 0.5.3

Release Notes

astral-sh/ruff (ruff)

v0.5.3

Compare Source

Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped
documentation, including setup guides for your editor of
choice
and the language server
itself
.

Preview features
  • Formatter: Insert empty line between suite and alternative branch after function/class definition (#​12294)
  • `pyupgrade`] Implement `unnecessary-default-type-args` (`UP043`) ([#​12371](https://github.com/astral-sh/ruff/pull/12371))
    
    
Rule changes
  • `flake8-bugbear`] Detect enumerate iterations in `loop-iterator-mutation` (`B909`) ([#​12366](https://github.com/astral-sh/ruff/pull/12366))
    
  • `flake8-bugbear`] Remove `discard`, `remove`, and `pop` allowance for `loop-iterator-mutation` (`B909`) ([#​12365](https://github.com/astral-sh/ruff/pull/12365))
    
  • `pylint`] Allow `repeated-equality-comparison` for mixed operations (`PLR1714`) ([#​12369](https://github.com/astral-sh/ruff/pull/12369))
    
  • `pylint`] Ignore `self` and `cls` when counting arguments (`PLR0913`) ([#​12367](https://github.com/astral-sh/ruff/pull/12367))
    
  • `pylint`] Use UTF-8 as default encoding in `unspecified-encoding` fix (`PLW1514`) ([#​12370](https://github.com/astral-sh/ruff/pull/12370))
    
    
Server
  • Build settings index in parallel for the native server (#​12299)
  • Use fallback settings when indexing the project (#​12362)
  • Consider --preview flag for server subcommand for the linter and formatter (#​12208)
Bug fixes
  • `flake8-comprehensions`] Allow additional arguments for `sum` and `max` comprehensions (`C419`) ([#​12364](https://github.com/astral-sh/ruff/pull/12364))
    
  • `pylint`] Avoid dropping extra boolean operations in `repeated-equality-comparison` (`PLR1714`) ([#​12368](https://github.com/astral-sh/ruff/pull/12368))
    
  • `pylint`] Consider expression before statement when determining binding kind (`PLR1704`) ([#​12346](https://github.com/astral-sh/ruff/pull/12346))
    
    
Documentation
  • Add docs for Ruff language server (#​12344)
  • Migrate to standalone docs repo (#​12341)
  • Update versioning policy for editor integration (#​12375)
Other changes

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.5.2` -> `0.5.3` | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.5.3`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#053) [Compare Source](https://github.com/astral-sh/ruff/compare/0.5.2...0.5.3) **Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped [documentation](https://docs.astral.sh/ruff/editors), including [setup guides for your editor of choice](https://docs.astral.sh/ruff/editors/setup) and [the language server itself](https://docs.astral.sh/ruff/editors/settings)**. ##### Preview features - Formatter: Insert empty line between suite and alternative branch after function/class definition ([#&#8203;12294](https://github.com/astral-sh/ruff/pull/12294)) - \[`pyupgrade`] Implement `unnecessary-default-type-args` (`UP043`) ([#&#8203;12371](https://github.com/astral-sh/ruff/pull/12371)) ##### Rule changes - \[`flake8-bugbear`] Detect enumerate iterations in `loop-iterator-mutation` (`B909`) ([#&#8203;12366](https://github.com/astral-sh/ruff/pull/12366)) - \[`flake8-bugbear`] Remove `discard`, `remove`, and `pop` allowance for `loop-iterator-mutation` (`B909`) ([#&#8203;12365](https://github.com/astral-sh/ruff/pull/12365)) - \[`pylint`] Allow `repeated-equality-comparison` for mixed operations (`PLR1714`) ([#&#8203;12369](https://github.com/astral-sh/ruff/pull/12369)) - \[`pylint`] Ignore `self` and `cls` when counting arguments (`PLR0913`) ([#&#8203;12367](https://github.com/astral-sh/ruff/pull/12367)) - \[`pylint`] Use UTF-8 as default encoding in `unspecified-encoding` fix (`PLW1514`) ([#&#8203;12370](https://github.com/astral-sh/ruff/pull/12370)) ##### Server - Build settings index in parallel for the native server ([#&#8203;12299](https://github.com/astral-sh/ruff/pull/12299)) - Use fallback settings when indexing the project ([#&#8203;12362](https://github.com/astral-sh/ruff/pull/12362)) - Consider `--preview` flag for `server` subcommand for the linter and formatter ([#&#8203;12208](https://github.com/astral-sh/ruff/pull/12208)) ##### Bug fixes - \[`flake8-comprehensions`] Allow additional arguments for `sum` and `max` comprehensions (`C419`) ([#&#8203;12364](https://github.com/astral-sh/ruff/pull/12364)) - \[`pylint`] Avoid dropping extra boolean operations in `repeated-equality-comparison` (`PLR1714`) ([#&#8203;12368](https://github.com/astral-sh/ruff/pull/12368)) - \[`pylint`] Consider expression before statement when determining binding kind (`PLR1704`) ([#&#8203;12346](https://github.com/astral-sh/ruff/pull/12346)) ##### Documentation - Add docs for Ruff language server ([#&#8203;12344](https://github.com/astral-sh/ruff/pull/12344)) - Migrate to standalone docs repo ([#&#8203;12341](https://github.com/astral-sh/ruff/pull/12341)) - Update versioning policy for editor integration ([#&#8203;12375](https://github.com/astral-sh/ruff/pull/12375)) ##### Other changes - Publish Wasm API to npm ([#&#8203;12317](https://github.com/astral-sh/ruff/pull/12317)) </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=-->
Xefir added 1 commit 2024-07-19 06:28:12 +00:00
chore(deps): update dependency ruff to v0.5.3
All checks were successful
divent / lint (push) Successful in 2m36s
divent / docker (push) Successful in 2m38s
divent / pypi (push) Has been skipped
da14f6c5c7
Xefir merged commit ef5da07184 into master 2024-07-19 12:11:32 +00:00
Xefir deleted branch renovate/ruff-0.x-lockfile 2024-07-19 12:11:32 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
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: Xefir/Divent#219
No description provided.