chore(deps): update dependency ruff to ^0.8.3 #111

Merged
Xefir merged 1 commits from renovate/ruff-0.x into master 2024-12-13 09:27:46 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
ruff (source, changelog) dev patch ^0.8.2 -> ^0.8.3

Release Notes

astral-sh/ruff (ruff)

v0.8.3

Compare Source

Preview features
  • Fix fstring formatting removing overlong implicit concatenated string in expression part (#​14811)
  • `airflow`] Add fix to remove deprecated keyword arguments (`AIR302`) ([#​14887](https://github.com/astral-sh/ruff/pull/14887))
    
  • `airflow`]: Extend rule to include deprecated names for Airflow 3.0 (`AIR302`) ([#​14765](https://github.com/astral-sh/ruff/pull/14765) and [#​14804](https://github.com/astral-sh/ruff/pull/14804))
    
  • `flake8-bugbear`] Improve error messages for `except*` (`B025`, `B029`, `B030`, `B904`) ([#​14815](https://github.com/astral-sh/ruff/pull/14815))
    
  • `flake8-bugbear`] `itertools.batched()` without explicit `strict` (`B911`) ([#​14408](https://github.com/astral-sh/ruff/pull/14408))
    
  • `flake8-use-pathlib`] Dotless suffix passed to `Path.with_suffix()` (`PTH210`) ([#​14779](https://github.com/astral-sh/ruff/pull/14779))
    
  • `pylint`] Include parentheses and multiple comparators in check for `boolean-chained-comparison` (`PLR1716`) ([#​14781](https://github.com/astral-sh/ruff/pull/14781))
    
  • `ruff`] Do not simplify `round()` calls (`RUF046`) ([#​14832](https://github.com/astral-sh/ruff/pull/14832))
    
  • `ruff`] Don't emit `used-dummy-variable` on function parameters (`RUF052`) ([#​14818](https://github.com/astral-sh/ruff/pull/14818))
    
  • `ruff`] Implement `if-key-in-dict-del` (`RUF051`) ([#​14553](https://github.com/astral-sh/ruff/pull/14553))
    
  • `ruff`] Mark autofix for `RUF052` as always unsafe ([#​14824](https://github.com/astral-sh/ruff/pull/14824))
    
  • `ruff`] Teach autofix for `used-dummy-variable` about TypeVars etc. (`RUF052`) ([#​14819](https://github.com/astral-sh/ruff/pull/14819))
    
    
Rule changes
  • `flake8-bugbear`] Offer unsafe autofix for `no-explicit-stacklevel` (`B028`) ([#​14829](https://github.com/astral-sh/ruff/pull/14829))
    
  • `flake8-pyi`] Skip all type definitions in `string-or-bytes-too-long` (`PYI053`) ([#​14797](https://github.com/astral-sh/ruff/pull/14797))
    
  • `pyupgrade`] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (`UP009`) ([#​14728](https://github.com/astral-sh/ruff/pull/14728))
    
  • `pyupgrade`] Mark fixes for `convert-typed-dict-functional-to-class` and `convert-named-tuple-functional-to-class` as unsafe if they will remove comments (`UP013`, `UP014`) ([#​14842](https://github.com/astral-sh/ruff/pull/14842))
    
    
Bug fixes
  • Raise syntax error for mixing except and except* (#​14895)
  • `flake8-bugbear`] Fix `B028` to allow `stacklevel` to be explicitly assigned as a positional argument ([#​14868](https://github.com/astral-sh/ruff/pull/14868))
    
  • `flake8-bugbear`] Skip `B028` if `warnings.warn` is called with `*args` or `**kwargs` ([#​14870](https://github.com/astral-sh/ruff/pull/14870))
    
  • `flake8-comprehensions`] Skip iterables with named expressions in `unnecessary-map` (`C417`) ([#​14827](https://github.com/astral-sh/ruff/pull/14827))
    
  • `flake8-pyi`] Also remove `self` and `cls`'s annotation (`PYI034`) ([#​14801](https://github.com/astral-sh/ruff/pull/14801))
    
  • `flake8-pytest-style`] Fix `pytest-parametrize-names-wrong-type` (`PT006`) to edit both `argnames` and `argvalues` if both of them are single-element tuples/lists ([#​14699](https://github.com/astral-sh/ruff/pull/14699))
    
  • `perflint`] Improve autofix for `PERF401` ([#​14369](https://github.com/astral-sh/ruff/pull/14369))
    
  • `pylint`] Fix `PLW1508` false positive for default string created via a mult operation ([#​14841](https://github.com/astral-sh/ruff/pull/14841))
    
    

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 | patch | `^0.8.2` -> `^0.8.3` | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.8.3`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#083) [Compare Source](https://github.com/astral-sh/ruff/compare/0.8.2...0.8.3) ##### Preview features - Fix fstring formatting removing overlong implicit concatenated string in expression part ([#&#8203;14811](https://github.com/astral-sh/ruff/pull/14811)) - \[`airflow`] Add fix to remove deprecated keyword arguments (`AIR302`) ([#&#8203;14887](https://github.com/astral-sh/ruff/pull/14887)) - \[`airflow`]: Extend rule to include deprecated names for Airflow 3.0 (`AIR302`) ([#&#8203;14765](https://github.com/astral-sh/ruff/pull/14765) and [#&#8203;14804](https://github.com/astral-sh/ruff/pull/14804)) - \[`flake8-bugbear`] Improve error messages for `except*` (`B025`, `B029`, `B030`, `B904`) ([#&#8203;14815](https://github.com/astral-sh/ruff/pull/14815)) - \[`flake8-bugbear`] `itertools.batched()` without explicit `strict` (`B911`) ([#&#8203;14408](https://github.com/astral-sh/ruff/pull/14408)) - \[`flake8-use-pathlib`] Dotless suffix passed to `Path.with_suffix()` (`PTH210`) ([#&#8203;14779](https://github.com/astral-sh/ruff/pull/14779)) - \[`pylint`] Include parentheses and multiple comparators in check for `boolean-chained-comparison` (`PLR1716`) ([#&#8203;14781](https://github.com/astral-sh/ruff/pull/14781)) - \[`ruff`] Do not simplify `round()` calls (`RUF046`) ([#&#8203;14832](https://github.com/astral-sh/ruff/pull/14832)) - \[`ruff`] Don't emit `used-dummy-variable` on function parameters (`RUF052`) ([#&#8203;14818](https://github.com/astral-sh/ruff/pull/14818)) - \[`ruff`] Implement `if-key-in-dict-del` (`RUF051`) ([#&#8203;14553](https://github.com/astral-sh/ruff/pull/14553)) - \[`ruff`] Mark autofix for `RUF052` as always unsafe ([#&#8203;14824](https://github.com/astral-sh/ruff/pull/14824)) - \[`ruff`] Teach autofix for `used-dummy-variable` about TypeVars etc. (`RUF052`) ([#&#8203;14819](https://github.com/astral-sh/ruff/pull/14819)) ##### Rule changes - \[`flake8-bugbear`] Offer unsafe autofix for `no-explicit-stacklevel` (`B028`) ([#&#8203;14829](https://github.com/astral-sh/ruff/pull/14829)) - \[`flake8-pyi`] Skip all type definitions in `string-or-bytes-too-long` (`PYI053`) ([#&#8203;14797](https://github.com/astral-sh/ruff/pull/14797)) - \[`pyupgrade`] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (`UP009`) ([#&#8203;14728](https://github.com/astral-sh/ruff/pull/14728)) - \[`pyupgrade`] Mark fixes for `convert-typed-dict-functional-to-class` and `convert-named-tuple-functional-to-class` as unsafe if they will remove comments (`UP013`, `UP014`) ([#&#8203;14842](https://github.com/astral-sh/ruff/pull/14842)) ##### Bug fixes - Raise syntax error for mixing `except` and `except*` ([#&#8203;14895](https://github.com/astral-sh/ruff/pull/14895)) - \[`flake8-bugbear`] Fix `B028` to allow `stacklevel` to be explicitly assigned as a positional argument ([#&#8203;14868](https://github.com/astral-sh/ruff/pull/14868)) - \[`flake8-bugbear`] Skip `B028` if `warnings.warn` is called with `*args` or `**kwargs` ([#&#8203;14870](https://github.com/astral-sh/ruff/pull/14870)) - \[`flake8-comprehensions`] Skip iterables with named expressions in `unnecessary-map` (`C417`) ([#&#8203;14827](https://github.com/astral-sh/ruff/pull/14827)) - \[`flake8-pyi`] Also remove `self` and `cls`'s annotation (`PYI034`) ([#&#8203;14801](https://github.com/astral-sh/ruff/pull/14801)) - \[`flake8-pytest-style`] Fix `pytest-parametrize-names-wrong-type` (`PT006`) to edit both `argnames` and `argvalues` if both of them are single-element tuples/lists ([#&#8203;14699](https://github.com/astral-sh/ruff/pull/14699)) - \[`perflint`] Improve autofix for `PERF401` ([#&#8203;14369](https://github.com/astral-sh/ruff/pull/14369)) - \[`pylint`] Fix `PLW1508` false positive for default string created via a mult operation ([#&#8203;14841](https://github.com/astral-sh/ruff/pull/14841)) </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-12-13 06:46:35 +00:00
chore(deps): update dependency ruff to ^0.8.3
All checks were successful
dl / lint (push) Successful in 1m37s
dl / docker (push) Successful in 2m32s
b2d8a4ade6
Xefir merged commit 66a295866b into master 2024-12-13 09:27:46 +00:00
Xefir deleted branch renovate/ruff-0.x 2024-12-13 09:27:46 +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/dl#111
No description provided.