From fd2b8deddda4c3e22b1cde5461be58c7ab8b1b6e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 10:12:07 +0530 Subject: [PATCH] Update dependency ruff to v0.8.4 (#15114) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://redirect.github.com/astral-sh/ruff), [changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `==0.8.3` -> `==0.8.4` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.8.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.8.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.8.3/0.8.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.8.3/0.8.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
astral-sh/ruff (ruff) ### [`v0.8.4`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#084) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.8.3...0.8.4) ##### Preview features - \[`airflow`] Extend `AIR302` with additional functions and classes ([#​15015](https://redirect.github.com/astral-sh/ruff/pull/15015)) - \[`airflow`] Implement `moved-to-provider-in-3` for modules that has been moved to Airflow providers (`AIR303`) ([#​14764](https://redirect.github.com/astral-sh/ruff/pull/14764)) - \[`flake8-use-pathlib`] Extend check for invalid path suffix to include the case `"."` (`PTH210`) ([#​14902](https://redirect.github.com/astral-sh/ruff/pull/14902)) - \[`perflint`] Fix panic in `PERF401` when list variable is after the `for` loop ([#​14971](https://redirect.github.com/astral-sh/ruff/pull/14971)) - \[`perflint`] Simplify finding the loop target in `PERF401` ([#​15025](https://redirect.github.com/astral-sh/ruff/pull/15025)) - \[`pylint`] Preserve original value format (`PLR6104`) ([#​14978](https://redirect.github.com/astral-sh/ruff/pull/14978)) - \[`ruff`] Avoid false positives for `RUF027` for typing context bindings ([#​15037](https://redirect.github.com/astral-sh/ruff/pull/15037)) - \[`ruff`] Check for ambiguous pattern passed to `pytest.raises()` (`RUF043`) ([#​14966](https://redirect.github.com/astral-sh/ruff/pull/14966)) ##### Rule changes - \[`flake8-bandit`] Check `S105` for annotated assignment ([#​15059](https://redirect.github.com/astral-sh/ruff/pull/15059)) - \[`flake8-pyi`] More autofixes for `redundant-none-literal` (`PYI061`) ([#​14872](https://redirect.github.com/astral-sh/ruff/pull/14872)) - \[`pydocstyle`] Skip leading whitespace for `D403` ([#​14963](https://redirect.github.com/astral-sh/ruff/pull/14963)) - \[`ruff`] Skip `SQLModel` base classes for `mutable-class-default` (`RUF012`) ([#​14949](https://redirect.github.com/astral-sh/ruff/pull/14949)) ##### Bug - \[`perflint`] Parenthesize walrus expressions in autofix for `manual-list-comprehension` (`PERF401`) ([#​15050](https://redirect.github.com/astral-sh/ruff/pull/15050)) ##### Server - Check diagnostic refresh support from client capability which enables dynamic configuration for various editors ([#​15014](https://redirect.github.com/astral-sh/ruff/pull/15014))
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/requirements-insiders.txt | 2 +- docs/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/requirements-insiders.txt b/docs/requirements-insiders.txt index 7f579135a3..dbadae3cfe 100644 --- a/docs/requirements-insiders.txt +++ b/docs/requirements-insiders.txt @@ -1,5 +1,5 @@ PyYAML==6.0.2 -ruff==0.8.3 +ruff==0.8.4 mkdocs==1.6.1 mkdocs-material @ git+ssh://git@github.com/astral-sh/mkdocs-material-insiders.git@39da7a5e761410349e9a1b8abf593b0cdd5453ff mkdocs-redirects==1.2.2 diff --git a/docs/requirements.txt b/docs/requirements.txt index 02fdc0a888..4b07aa904c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,5 +1,5 @@ PyYAML==6.0.2 -ruff==0.8.3 +ruff==0.8.4 mkdocs==1.6.1 mkdocs-material==9.5.38 mkdocs-redirects==1.2.2