← Back to issue list

chore(deps): update dependency ruff to v0.0.247

View original Github issue

Metadata

Project
starbase
Number
#37
Type
pull request
State
merged
Author
renovate[bot]
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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 | |---|---|---|---|---|---| | [ruff](https://togithub.com/charliermarsh/ruff) | `==0.0.245` -> `==0.0.247` | [![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.247/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.247/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.247/compatibility-slim/0.0.245)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.247/confidence-slim/0.0.245)](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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2929](https://togithub.com/charliermarsh/ruff/pull/2929) #### New Contributors - [@&#8203;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) - [@&#8203;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) - [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2837](https://togithub.com/charliermarsh/ruff/pull/2837) #### New Contributors - [@&#8203;trag1c](https://togithub.com/trag1c) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2757](https://togithub.com/charliermarsh/ruff/pull/2757) - [@&#8203;PushUpek](https://togithub.com/PushUpek) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2762](https://togithub.com/charliermarsh/ruff/pull/2762) - [@&#8203;konysko](https://togithub.com/konysko) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2586](https://togithub.com/charliermarsh/ruff/pull/2586) - [@&#8203;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
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
#1071 chore(deps): update dependency ruff to v0.0.261 charmcraft merged Automatically merged via Renovate bot to update the ruff dependency from v0.0.256 to v0.0.261. The change passed CI checks and received reviewer approval before automerge.
94%
#69 chore(deps): update dependency ruff to v0.0.269 starbase merged Merged automated dependency update upgrading ruff from v0.0.267 to v0.0.269. Passed CI checks and reviewer approval before integration.
93%
#177 chore(deps): update dependency ruff to v0.1.15 starbase merged Successfully merged automated dependency update upgrading ruff from 0.0.267 to 0.1.15. The change passed CI checks, maintained 100% test coverage, and updated the project's linting tool to the latest release.
93%
#709 chore(deps): update dependency ruff to v0.4.3 craft-parts merged Merged automated dependency update for ruff from 0.3.5 to 0.4.3. Passed CI, received two approvals, and was applied via Renovate bot automerge, updating a single configuration file.
92%
#387 chore(deps): update dependency ruff to v0.1.1 rockcraft merged Renovate bot updated the ruff dependency from 0.0.256 to 0.1.1. The change was approved by two reviewers, passed CI checks, and successfully merged.
92%
#223 chore(deps): update dependency lint/ruff to v0.1.14 craft-cli merged Merged automated dependency update for lint/ruff from v0.1.8 to v0.1.14 via Renovate bot. CI and code coverage checks passed, successfully integrating the update.
92%
#40 chore(deps): update dependency ruff to ~=0.5.7 craft-grammar merged Merged a Renovate-generated dependency update upgrading ruff from 0.4.5 to 0.5.7. The change passed CI checks, received approval, and was successfully merged into the main branch.
92%
#155 chore(deps): update dependency lint/ruff to v0.1.15 craft-store merged Automatically updated lint/ruff from v0.1.9 to v0.1.15 via Renovate bot. The PR passed CI checks, received two approvals, and was successfully merged.
91%
#423 chore(deps): update dependency ruff to v0.1.6 rockcraft merged Merged automated dependency update upgrading ruff from v0.1.1 to v0.1.6. Approved by two reviewers, passed CI checks, and applied with a minimal two-line change across two files.
91%
#179 chore(deps): update dependency lint/ruff to v0.0.290 craft-cli merged Merged an automated dependency update from Renovate bot, upgrading lint/ruff from v0.0.285 to v0.0.290. The PR passed CI checks, received approval, and was successfully merged into the main branch.
91%