chore(deps): update dependency ruff to v0.0.247
Metadata
Current evaluation
Renovate PR updating ruff 0.0.245 -> 0.0.247 was approved and merged into starbase main via commit 867bb8f, bumping the ruff pin in .pre-commit-config.yaml (+1/-1).
Resolution: closed resolved
Reason: The PR itself was the fix: it was merged after one approval, landing as commit 867bb8f which bumps the ruff version from 0.0.245 to 0.0.247 in the pre-commit config. CI reported no failing checks and no review comments remained.
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 |
|---|---|---|---|---|---|
| [ruff](https://togithub.com/charliermarsh/ruff) | `==0.0.245` -> `==0.0.247` | [](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>charliermarsh/ruff</summary>
### [`v0.0.247`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.247)
[Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.246...v0.0.247)
<!-- Release notes generated using configuration in .github/release.yml at main -->
#### What's Changed
##### Rules
- \[`NPY001`] deprecated type aliases by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2810](https://togithub.com/charliermarsh/ruff/pull/2810)
- \[`RUF006`] Implement `asyncio-dangling-task` to track `asyncio.create_task` calls by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2935](https://togithub.com/charliermarsh/ruff/pull/2935)
##### CLI
- Implement shell autocompletion for rule codes by [@​not-my-profile](https://togithub.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/2906](https://togithub.com/charliermarsh/ruff/pull/2906)
##### Bug Fixes
- Handle multiple receiver decorators in receiver-decorator by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2858](https://togithub.com/charliermarsh/ruff/pull/2858)
- Avoid false-positives with multi-byte characters in B005 by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2862](https://togithub.com/charliermarsh/ruff/pull/2862)
- Avoid false-positives for runtime-types in type checking blocks by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2863](https://togithub.com/charliermarsh/ruff/pull/2863)
- Avoid noqa removal upon unhandled syntax errors by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2864](https://togithub.com/charliermarsh/ruff/pull/2864)
- Ignore non-imperative-mood in Google docstring convention by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2900](https://togithub.com/charliermarsh/ruff/pull/2900)
- \[`flake8-tidy-imports`] autofix relative imports by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2891](https://togithub.com/charliermarsh/ruff/pull/2891)
- Respect self as positional-only argument in annotation rules by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2927](https://togithub.com/charliermarsh/ruff/pull/2927)
- Apply nullable-model-string-field to all classes by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2928](https://togithub.com/charliermarsh/ruff/pull/2928)
- Deduplicate files provided on the command-line by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2931](https://togithub.com/charliermarsh/ruff/pull/2931)
- Re-show --target-version on CLI interface by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2859](https://togithub.com/charliermarsh/ruff/pull/2859)
- Remove autofix for prefer-type-error by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2880](https://togithub.com/charliermarsh/ruff/pull/2880)
- Avoid unnecessary-else violations in `elif` branches by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2881](https://togithub.com/charliermarsh/ruff/pull/2881)
- Extend B904 to else branches by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2886](https://togithub.com/charliermarsh/ruff/pull/2886)
- Allow private accesses on current class by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2929](https://togithub.com/charliermarsh/ruff/pull/2929)
#### New Contributors
- [@​Jeremiah-England](https://togithub.com/Jeremiah-England) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2884](https://togithub.com/charliermarsh/ruff/pull/2884)
- [@​Chris-May](https://togithub.com/Chris-May) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2896](https://togithub.com/charliermarsh/ruff/pull/2896)
- [@​simon04](https://togithub.com/simon04) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2904](https://togithub.com/charliermarsh/ruff/pull/2904)
**Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.246...v0.0.247
### [`v0.0.246`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.246)
[Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.245...v0.0.246)
<!-- Release notes generated using configuration in .github/release.yml at main -->
#### What's Changed
##### Breaking Changes
- Remove multiple-statements-on-one-line-def (E704) by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2773](https://togithub.com/charliermarsh/ruff/pull/2773)
##### Rules
- \[`flake8-pyi`]: add rules for unrecognized platform check (PYI007, PYI008) by [@​SigureMo](https://togithub.com/SigureMo) in [https://github.com/charliermarsh/ruff/pull/2805](https://togithub.com/charliermarsh/ruff/pull/2805)
- \[`flake8-simplify`]: combine-if-conditions by [@​colin99d](https://togithub.com/colin99d) in [https://github.com/charliermarsh/ruff/pull/2823](https://togithub.com/charliermarsh/ruff/pull/2823)
- \[`flake8-django`] Implemented flake8-django plugin rules by [@​konysko](https://togithub.com/konysko) in [https://github.com/charliermarsh/ruff/pull/2586](https://togithub.com/charliermarsh/ruff/pull/2586)
##### CLI
- Implement `config` subcommand by [@​not-my-profile](https://togithub.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/2775](https://togithub.com/charliermarsh/ruff/pull/2775)
- Add rendering of rule markdown for terminal output by [@​ngnpope](https://togithub.com/ngnpope) in [https://github.com/charliermarsh/ruff/pull/2747](https://togithub.com/charliermarsh/ruff/pull/2747)
- Add `--show-fixes` flag to show applied fixes by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2707](https://togithub.com/charliermarsh/ruff/pull/2707)
##### Settings
- implemented option lines-between-types for isort by [@​PushUpek](https://togithub.com/PushUpek) in [https://github.com/charliermarsh/ruff/pull/2762](https://togithub.com/charliermarsh/ruff/pull/2762)
##### Autofix
- \[`pyflakes`] Support unused variable removal in multi-assignment statements by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2786](https://togithub.com/charliermarsh/ruff/pull/2786)
- \[`flake8-comprehensions`] autofix C414 and C417 + bugfix by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2693](https://togithub.com/charliermarsh/ruff/pull/2693)
- \[`flake8-comprehensions`] bugfix for C413 autofix by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2804](https://togithub.com/charliermarsh/ruff/pull/2804)
- \[`flake8-simplify`] Use smarter inversion for comparison checks by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2831](https://togithub.com/charliermarsh/ruff/pull/2831)
- \[`flake8-comprehensions`] improve autofix for C401, C402 and C417 by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2806](https://togithub.com/charliermarsh/ruff/pull/2806)
##### Bug Fixes
- Ignore colon-after-lambda in compound statement rules by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2771](https://togithub.com/charliermarsh/ruff/pull/2771)
- Don't treat all future import accesses as non-runtime by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2774](https://togithub.com/charliermarsh/ruff/pull/2774)
- Avoid treating deferred string annotations as required-at-runtime by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2779](https://togithub.com/charliermarsh/ruff/pull/2779)
- Respect continuations in `noqa` enforcement by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2783](https://togithub.com/charliermarsh/ruff/pull/2783)
- Improve unused-variable autofixes for with statements by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2785](https://togithub.com/charliermarsh/ruff/pull/2785)
- Refactor generator to use Astor-derived precedence levels by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2798](https://togithub.com/charliermarsh/ruff/pull/2798)
- Allow private accesses on super calls by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2815](https://togithub.com/charliermarsh/ruff/pull/2815)
- Allow non-verbose raise when cause is present by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2816](https://togithub.com/charliermarsh/ruff/pull/2816)
- Avoid duplicates in if-with-same-arms by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2827](https://togithub.com/charliermarsh/ruff/pull/2827)
- Include package inference during --add-noqa command by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2832](https://togithub.com/charliermarsh/ruff/pull/2832)
- Allow compound statements of single ellipsis by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2837](https://togithub.com/charliermarsh/ruff/pull/2837)
#### New Contributors
- [@​trag1c](https://togithub.com/trag1c) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2757](https://togithub.com/charliermarsh/ruff/pull/2757)
- [@​PushUpek](https://togithub.com/PushUpek) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2762](https://togithub.com/charliermarsh/ruff/pull/2762)
- [@​konysko](https://togithub.com/konysko) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2586](https://togithub.com/charliermarsh/ruff/pull/2586)
- [@​SigureMo](https://togithub.com/SigureMo) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2805](https://togithub.com/charliermarsh/ruff/pull/2805)
**Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.245...v0.0.246
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "after 1 am and before 7 am" in timezone Etc/UTC.
🚦 **Automerge**: Enabled.
♻ **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://app.renovatebot.com/dashboard#github/canonical/starbase).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjM0LjE0My4xIn0=-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Renovate PR updating ruff 0.0.245 -> 0.0.247 was approved and merged into starbase main via commit 867bb8f, bumping the ruff pin in .pre-commit-config.yaml (+1/-1). | |
| stealth/space-bunny-alpha | — | closed resolved | Renovate PR merged (commit 867bb8f), bumping the pinned ruff dev dependency from ==0.0.245 to ==0.0.247 in pyproject.toml; one approval, no review comments. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #37 via commit 867bb8f, updating Ruff from 0.0.245 to 0.0.247. The Renovate PR received one approval before merging. | |
| qwen/qwen3.6-35b-a3b | — | — | Automatically merged dependency update for ruff from v0.0.245 to v0.0.247. The change passed CI checks, received approval, and was merged via Renovate bot automation to keep the Python linter current. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Automated dependency update merged, upgrading ruff from v0.0.245 to v0.0.247. The pull request was auto-merged by Renovate without conflicts. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #566 chore(deps): update dependency lint/ruff to v0.4.3 | craft-providers | merged | Renovate PR #566 bumped the lint/ruff pin from ==0.4.2 to ==0.4.3 (+1/-1 line). Approved by @mr-cal (who noted ruff would move to a snap at the next Starbase merge) and merged as commit e7b2ddc. | |
| #119 chore(deps): update dependency lint/ruff to v0.0.284 | starbase | merged | Renovate dependency bump PR #119 (lint/ruff 0.0.272 -> 0.0.284 in the ruff pre-commit hook) was approved and merged into main as commit be3ae62; +1/-1 line, no source changes. | |
| #177 chore(deps): update dependency ruff to v0.1.15 | starbase | merged | Renovate PR merging ruff 0.0.267 -> 0.1.15 into main via commit c6d29c3; single-line dev dependency bump, approved with no CI changes. | |
| #1071 chore(deps): update dependency ruff to v0.0.261 | charmcraft | merged | Merged PR #1071 in commit 790a9041, updating Ruff from v0.0.256 to v0.0.261 after approval and automerge. | |
| #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. | |
| #69 chore(deps): update dependency ruff to v0.0.269 | starbase | merged | Merged Ruff dependency update from v0.0.267 to v0.0.269 in commit ffe9887. | |
| #130 chore(deps): update dependency lint/ruff to v0.0.290 | starbase | merged | Renovate PR merged into main via commit 4e97b3f, bumping the pinned lint/ruff from 0.0.285 to 0.0.290 (one-line change, no coverage impact). | |
| #423 chore(deps): update dependency ruff to v0.1.6 | rockcraft | merged | Merged PR #423 updated Ruff from 0.1.1 to 0.1.6 in two dependency files; resolving commit: 945051ff. | |
| #142 chore(deps): update dependency lint/ruff to v0.1.1 | starbase | merged | Merged PR #142 via commit 6b79ebe, updating the pinned Ruff dependency from v0.1.0 to v0.1.1. |