← Back to issue list

chore(deps): update dependency lint/ruff to v0.3.7

View original Github issue

Metadata

Project
craft-providers
Number
#555
Type
pull request
State
merged
Author
renovate[bot]
Labels
—
Created
Updated
Closed

Current evaluation

Renovate's lint/ruff bump from 0.3.5 to 0.3.7 was merged in craft-providers, a one-line tox.ini pin update (commit 6f5e285). It was held briefly pending release PR #552.

Resolution: closed resolved

Reason: The PR itself was merged into main as commit 6f5e285 ("chore(deps): update dependency lint/ruff to v0.3.7 (#555)"), changing the frozen lint/ruff pin in tox.ini from ==0.3.5 to ==0.3.7. The single review comment (mr-cal, 2024-04-12, "let's land #552 first") was satisfied by merging release PR #552, after which #555 was approved by 2 reviewers and merged.

Evaluated by: mr-cal-bot

No scores available.

Issue body

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [lint/ruff](https://docs.astral.sh/ruff) ([source](https://togithub.com/astral-sh/ruff), [changelog](https://togithub.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `==0.3.5` -> `==0.3.7` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/lint%2fruff/0.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/lint%2fruff/0.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/lint%2fruff/0.3.5/0.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lint%2fruff/0.3.5/0.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>astral-sh/ruff (lint/ruff)</summary> ### [`v0.3.7`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#037) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.3.6...v0.3.7) ##### Preview features - \[`flake8-bugbear`] Implement `loop-iterator-mutation` (`B909`) ([#&#8203;9578](https://togithub.com/astral-sh/ruff/pull/9578)) - \[`pylint`] Implement rule to prefer augmented assignment (`PLR6104`) ([#&#8203;9932](https://togithub.com/astral-sh/ruff/pull/9932)) ##### Bug fixes - Avoid TOCTOU errors in cache initialization ([#&#8203;10884](https://togithub.com/astral-sh/ruff/pull/10884)) - \[`pylint`] Recode `nan-comparison` rule to `W0177` ([#&#8203;10894](https://togithub.com/astral-sh/ruff/pull/10894)) - \[`pylint`] Reverse min-max logic in `if-stmt-min-max` ([#&#8203;10890](https://togithub.com/astral-sh/ruff/pull/10890)) ### [`v0.3.6`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#036) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.3.5...v0.3.6) ##### Preview features - \[`pylint`] Implement `bad-staticmethod-argument` (`PLW0211`) ([#&#8203;10781](https://togithub.com/astral-sh/ruff/pull/10781)) - \[`pylint`] Implement `if-stmt-min-max` (`PLR1730`, `PLR1731`) ([#&#8203;10002](https://togithub.com/astral-sh/ruff/pull/10002)) - \[`pyupgrade`] Replace `str,Enum` multiple inheritance with `StrEnum` `UP042` ([#&#8203;10713](https://togithub.com/astral-sh/ruff/pull/10713)) - \[`refurb`] Implement `if-expr-instead-of-or-operator` (`FURB110`) ([#&#8203;10687](https://togithub.com/astral-sh/ruff/pull/10687)) - \[`refurb`] Implement `int-on-sliced-str` (`FURB166`) ([#&#8203;10650](https://togithub.com/astral-sh/ruff/pull/10650)) - \[`refurb`] Implement `write-whole-file` (`FURB103`) ([#&#8203;10802](https://togithub.com/astral-sh/ruff/pull/10802)) - \[`refurb`] Support `itemgetter` in `reimplemented-operator` (`FURB118`) ([#&#8203;10526](https://togithub.com/astral-sh/ruff/pull/10526)) - \[`flake8_comprehensions`] Add `sum`/`min`/`max` to unnecessary comprehension check (`C419`) ([#&#8203;10759](https://togithub.com/astral-sh/ruff/pull/10759)) ##### Rule changes - \[`pydocstyle`] Require capitalizing docstrings where the first sentence is a single word (`D403`) ([#&#8203;10776](https://togithub.com/astral-sh/ruff/pull/10776)) - \[`pycodestyle`] Ignore annotated lambdas in class scopes (`E731`) ([#&#8203;10720](https://togithub.com/astral-sh/ruff/pull/10720)) - \[`flake8-pyi`] Various improvements to PYI034 ([#&#8203;10807](https://togithub.com/astral-sh/ruff/pull/10807)) - \[`flake8-slots`] Flag subclasses of call-based `typing.NamedTuple`s as well as subclasses of `collections.namedtuple()` (`SLOT002`) ([#&#8203;10808](https://togithub.com/astral-sh/ruff/pull/10808)) - \[`pyflakes`] Allow forward references in class bases in stub files (`F821`) ([#&#8203;10779](https://togithub.com/astral-sh/ruff/pull/10779)) - \[`pygrep-hooks`] Improve `blanket-noqa` error message (`PGH004`) ([#&#8203;10851](https://togithub.com/astral-sh/ruff/pull/10851)) ##### CLI - Support `FORCE_COLOR` env var ([#&#8203;10839](https://togithub.com/astral-sh/ruff/pull/10839)) ##### Configuration - Support negated patterns in `[extend-]per-file-ignores` ([#&#8203;10852](https://togithub.com/astral-sh/ruff/pull/10852)) ##### Bug fixes - \[`flake8-import-conventions`] Accept non-aliased (but correct) import in `unconventional-import-alias` (`ICN001`) ([#&#8203;10729](https://togithub.com/astral-sh/ruff/pull/10729)) - \[`flake8-quotes`] Add semantic model flag when inside f-string replacement field ([#&#8203;10766](https://togithub.com/astral-sh/ruff/pull/10766)) - \[`pep8-naming`] Recursively resolve `TypeDicts` for N815 violations ([#&#8203;10719](https://togithub.com/astral-sh/ruff/pull/10719)) - \[`flake8-quotes`] Respect `Q00*` ignores in `flake8-quotes` rules ([#&#8203;10728](https://togithub.com/astral-sh/ruff/pull/10728)) - \[`flake8-simplify`] Show negated condition in `needless-bool` diagnostics (`SIM103`) ([#&#8203;10854](https://togithub.com/astral-sh/ruff/pull/10854)) - \[`ruff`] Use within-scope shadowed bindings in `asyncio-dangling-task` (`RUF006`) ([#&#8203;10793](https://togithub.com/astral-sh/ruff/pull/10793)) - \[`flake8-pytest-style`] Fix single-tuple conversion in `pytest-parametrize-values-wrong-type` (`PT007`) ([#&#8203;10862](https://togithub.com/astral-sh/ruff/pull/10862)) - \[`flake8-return`] Ignore assignments to annotated variables in `unnecessary-assign` (`RET504`) ([#&#8203;10741](https://togithub.com/astral-sh/ruff/pull/10741)) - \[`refurb`] Do not allow any keyword arguments for `read-whole-file` in `rb` mode (`FURB101`) ([#&#8203;10803](https://togithub.com/astral-sh/ruff/pull/10803)) - \[`pylint`] Don't recommend decorating staticmethods with `@singledispatch` (`PLE1519`, `PLE1520`) ([#&#8203;10637](https://togithub.com/astral-sh/ruff/pull/10637)) - \[`pydocstyle`] Use section name range for all section-related docstring diagnostics ([#&#8203;10740](https://togithub.com/astral-sh/ruff/pull/10740)) - Respect `# noqa` directives on `__all__` openers ([#&#8203;10798](https://togithub.com/astral-sh/ruff/pull/10798)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "every weekend" in timezone Etc/UTC. 🚦 **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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/craft-providers). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Renovate's lint/ruff bump from 0.3.5 to 0.3.7 was merged in craft-providers, a one-line tox.ini pin update (commit 6f5e285). It was held briefly pending release PR #552.
qwen/qwen3.6-35b-a3b — closed resolved Merged dependency update for lint/ruff from v0.3.5 to v0.3.7, incorporating new lint rules and bug fixes.

Update history

Date Change
created

Related work

  • Blocked By: canonical/craft-providers#552 (confidence 92%)

    Release PR 'chore(merge): 1.20.3 into main' had to land first; noted by mr-cal before #555 was merged

  • Related To: canonical/craft-providers#548 (confidence 90%)

    Commit afff221 set lint/ruff to v0.3.5, the version this PR replaced

Related issues

Issue Project State Summary Similarity
#524 chore(deps): update dependency lint/ruff to v0.3.0 craft-providers merged Merged the Ruff lint dependency upgrade from 0.1.7 to 0.3.0 in canonical/craft-providers PR #524.
91%
#356 chore(deps): update dependency lint/ruff to v0.0.277 craft-providers merged Merged in canonical/craft-providers#356 via commit bb4ff5a, updating lint/ruff from 0.0.272 to 0.0.277.
91%
#543 chore(deps): update dependency lint/ruff to v0.3.4 craft-providers merged Renovate PR #543 was merged, updating lint/ruff from v0.3.2 to v0.3.4 in commit 41a09fe.
91%
#204 chore(deps): update dependency lint/ruff to v0.1.6 craft-cli merged Renovate PR #204 merged, upgrading lint/ruff from 0.1.0 to 0.1.6 after two approvals; the dependency pin changed by one line.
90%
#190 chore(deps): update dependency lint/ruff to v0.2.0 craft-application merged Renovate upgraded lint/ruff from 0.1.14 to 0.2.0; PR #190 was approved and merged in commit 9d7306ca.
90%
#529 chore(deps): update dependency lint/ruff to v0.3.2 craft-providers merged Merged Renovate PR #529, updating lint/ruff from 0.3.0 to 0.3.2 after approval.
90%
#115 chore(deps): update dependency lint/ruff to v0.1.1 craft-store merged Renovate PR #115 was merged, bumping lint/ruff from 0.1.0 to 0.1.1 in commit 1f36381.
90%
#190 chore(deps): update dependency lint/ruff to v0.1.0 craft-cli merged Renovate updated lint/ruff from 0.0.290 to 0.1.0; PR #190 was merged as commit b75689c.
90%
#548 chore(deps): update dependency lint/ruff to v0.3.5 craft-providers merged Merged PR #548 updated lint/ruff from 0.3.4 to 0.3.5 in commit afff221.
90%
#107 chore(deps): update dependency lint/ruff to v0.1.0 craft-store merged Renovate PR #107 bumped lint/ruff from 0.0.272 to 0.1.0 in requirements.txt; approved and merged as commit 1253462, a single-line pin change.
89%