chore(deps): update dependency lint/ruff to v0.1.8
Metadata
Current evaluation
Renovate PR bumping lint/ruff 0.1.7 to 0.1.8 was approved by two reviewers and merged into main as commit 61f7791 (Dec 2023); later superseded by ruff 0.1.14 (#223) and 0.1.15 (#230).
Resolution: closed resolved
Reason: The one-line pyproject.toml pin bump from ==0.1.7 to ==0.1.8 was merged into main as commit 61f7791 ("chore(deps): update dependency lint/ruff to v0.1.8 (#217)"), approved by two reviewers with no CI failures.
Evaluated by: mr-cal-bot
No scores available.
Issue body
[](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.1.7` -> `==0.1.8` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>astral-sh/ruff (lint/ruff)</summary>
### [`v0.1.8`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#018)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.7...v0.1.8)
This release includes opt-in support for formatting Python snippets within
docstrings via the `docstring-code-format` setting.
[Check out the blog post](https://astral.sh/blog/ruff-v0.1.8) for more details!
##### Preview features
- Add `"preserve"` quote-style to mimic Black's skip-string-normalization ([#​8822](https://togithub.com/astral-sh/ruff/pull/8822))
- Implement `prefer_splitting_right_hand_side_of_assignments` preview style ([#​8943](https://togithub.com/astral-sh/ruff/pull/8943))
- \[`pycodestyle`] Add fix for `unexpected-spaces-around-keyword-parameter-equals` ([#​9072](https://togithub.com/astral-sh/ruff/pull/9072))
- \[`pycodestyle`] Add fix for comment-related whitespace rules ([#​9075](https://togithub.com/astral-sh/ruff/pull/9075))
- \[`pycodestyle`] Allow `sys.path` modifications between imports ([#​9047](https://togithub.com/astral-sh/ruff/pull/9047))
- \[`refurb`] Implement `hashlib-digest-hex` (`FURB181`) ([#​9077](https://togithub.com/astral-sh/ruff/pull/9077))
##### Rule changes
- Allow `flake8-type-checking` rules to automatically quote runtime-evaluated references ([#​6001](https://togithub.com/astral-sh/ruff/pull/6001))
- Allow transparent cell magics in Jupyter Notebooks ([#​8911](https://togithub.com/astral-sh/ruff/pull/8911))
- \[`flake8-annotations`] Avoid `ANN2xx` fixes for abstract methods with empty bodies ([#​9034](https://togithub.com/astral-sh/ruff/pull/9034))
- \[`flake8-self`] Ignore underscore references in type annotations ([#​9036](https://togithub.com/astral-sh/ruff/pull/9036))
- \[`pep8-naming`] Allow class names when `apps.get_model` is a non-string ([#​9065](https://togithub.com/astral-sh/ruff/pull/9065))
- \[`pycodestyle`] Allow `matplotlib.use` calls to intersperse imports ([#​9094](https://togithub.com/astral-sh/ruff/pull/9094))
- \[`pyflakes`] Support fixing unused assignments in tuples by renaming variables (`F841`) ([#​9107](https://togithub.com/astral-sh/ruff/pull/9107))
- \[`pylint`] Add fix for `subprocess-run-without-check` (`PLW1510`) ([#​6708](https://togithub.com/astral-sh/ruff/pull/6708))
##### Formatter
- Add `docstring-code-format` knob to enable docstring snippet formatting ([#​8854](https://togithub.com/astral-sh/ruff/pull/8854))
- Use double quotes for all docstrings, including single-quoted docstrings ([#​9020](https://togithub.com/astral-sh/ruff/pull/9020))
- Implement "dynamic" line width mode for docstring code formatting ([#​9098](https://togithub.com/astral-sh/ruff/pull/9098))
- Support reformatting Markdown code blocks ([#​9030](https://togithub.com/astral-sh/ruff/pull/9030))
- add support for formatting reStructuredText code snippets ([#​9003](https://togithub.com/astral-sh/ruff/pull/9003))
- Avoid trailing comma for single-argument with positional separator ([#​9076](https://togithub.com/astral-sh/ruff/pull/9076))
- Fix handling of trailing target comment ([#​9051](https://togithub.com/astral-sh/ruff/pull/9051))
##### CLI
- Hide unsafe fix suggestions when explicitly disabled ([#​9095](https://togithub.com/astral-sh/ruff/pull/9095))
- Add SARIF support to `--output-format` ([#​9078](https://togithub.com/astral-sh/ruff/pull/9078))
##### Bug fixes
- Apply unnecessary index rule prior to enumerate rewrite ([#​9012](https://togithub.com/astral-sh/ruff/pull/9012))
- \[`flake8-err-msg`] Allow `EM` fixes even if `msg` variable is defined ([#​9059](https://togithub.com/astral-sh/ruff/pull/9059))
- \[`flake8-pie`] Prevent keyword arguments duplication ([#​8450](https://togithub.com/astral-sh/ruff/pull/8450))
- \[`flake8-pie`] Respect trailing comma in `unnecessary-dict-kwargs` (`PIE804`) ([#​9015](https://togithub.com/astral-sh/ruff/pull/9015))
- \[`flake8-raise`] Avoid removing parentheses on ctypes.WinError ([#​9027](https://togithub.com/astral-sh/ruff/pull/9027))
- \[`isort`] Avoid invalid combination of `force-sort-within-types` and `lines-between-types` ([#​9041](https://togithub.com/astral-sh/ruff/pull/9041))
- \[`isort`] Ensure that from-style imports are always ordered first in `__future__` ([#​9039](https://togithub.com/astral-sh/ruff/pull/9039))
- \[`pycodestyle`] Allow tab indentation before keyword ([#​9099](https://togithub.com/astral-sh/ruff/pull/9099))
- \[`pylint`] Ignore `@overrides` and `@overloads` for `too-many-positional` ([#​9000](https://togithub.com/astral-sh/ruff/pull/9000))
- \[`pyupgrade`] Enable `printf-string-formatting` fix with comments on right-hand side ([#​9037](https://togithub.com/astral-sh/ruff/pull/9037))
- \[`refurb`] Make `math-constant` (`FURB152`) rule more targeted ([#​9054](https://togithub.com/astral-sh/ruff/pull/9054))
- \[`refurb`] Support floating-point base in `redundant-log-base` (`FURB163`) ([#​9100](https://togithub.com/astral-sh/ruff/pull/9100))
- \[`ruff`] Detect `unused-asyncio-dangling-task` (`RUF006`) on unused assignments ([#​9060](https://togithub.com/astral-sh/ruff/pull/9060))
</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-cli).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Renovate PR bumping lint/ruff 0.1.7 to 0.1.8 was approved by two reviewers and merged into main as commit 61f7791 (Dec 2023); later superseded by ruff 0.1.14 (#223) and 0.1.15 (#230). | |
| stealth/space-bunny-alpha | — | closed resolved | Renovate bump of lint/ruff 0.1.7 -> 0.1.8 in pyproject.toml was approved by 2 reviewers and merged to main in commit 61f7791 ("chore(deps): update dependency lint/ruff to v0.1.8 (#217)"). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #217, updating pinned lint/ruff from 0.1.7 to 0.1.8 in commit 7c03c5c after approval by two reviewers. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged automated dependency update for lint/ruff from v0.1.7 to v0.1.8. Generated by Renovate, approved by two reviewers, passed CI and Codecov checks, and successfully merged. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/craft-cli#223
(confidence 70%)
Later Renovate bump to ruff 0.1.14 (commit c40d80e) superseded this pin
-
Superseded By:
canonical/craft-cli#230
(confidence 65%)
Follow-up bump to ruff 0.1.15 (commit b78c4ca / merge e68b0c7)
-
Duplicate Of:
canonical/craft-cli#214
(confidence 40%)
Preceding ruff 0.1.7 bump (3a63abd) that this PR updates; part of the same Renovate pin series
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #114 chore(deps): update dependency lint/ruff to v0.1.0 | craft-application | closed | Renovate PR bumping lint/ruff 0.0.269 -> 0.1.0 was closed unmerged by maintainer @lengau as "Superceded by #115", which updated Ruff and fixed a linting issue. | |
| #118 chore(deps): update dependency lint/ruff to v0.1.1 | craft-application | closed | Renovate PR bumping lint/ruff 0.0.269→0.1.1 was closed unmerged; maintainer lengau marked it "Superseded by #115", which updated Ruff and fixed the resulting lint errors and was merged into main. | |
| #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. | |
| #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. | |
| #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. | |
| #129 chore(deps): update dependency lint/ruff to v0.1.2 | craft-application | merged | Merged PR #129 via commit 7704e5f1, updating lint/ruff from v0.1.1 to v0.1.2 after approval from two reviewers. | |
| #578 chore(deps): update dependency lint/ruff to v0.4.10 | craft-providers | merged | Renovate PR merged: bumped the lint/ruff dependency from 0.4.8 to 0.4.10 (commit 117db56) after reviewer approval; a single-line version change. | |
| #589 chore(deps): update dependency ruff to v0.1.14 | craft-parts | merged | Renovate PR bumping ruff0.1.6 to 0.1.14 was approved and auto-merged into main (commit 210fd091), a one-line dependency change in the lint requirements. | |
| #230 chore(deps): update dependency lint/ruff to v0.1.15 | craft-cli | merged | Renovate PR merged (commit e68b0c7), bumping the ruff lint hook from 0.1.14 to 0.1.15 in .pre-commit-config.yaml; approved by two reviewers with no CI failures. | |
| #214 chore(deps): update dependency lint/ruff to v0.1.7 | craft-cli | merged | Merged PR #214 upgraded lint/ruff from 0.1.6 to 0.1.7 in commit 3a63abd. |