Bump ruff from 0.15.17 to 0.15.18#41
Conversation
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.17 to 0.15.18. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.15.17...0.15.18) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.15.18 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe ChangesRuff version bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@requirements-dev.txt`:
- Line 5: Update the ruff version in .pre-commit-config.yaml (around line 11)
from v0.15.17 to v0.15.18 to match the version bump in requirements-dev.txt.
This ensures that both CI (running from requirements-dev.txt) and local
pre-commit hooks use the same ruff version, preventing lint/format discrepancies
between environments.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 935cd303-7bf4-412a-a1cf-f21e8cf2f368
📒 Files selected for processing (1)
requirements-dev.txt
| pytest-cov==7.1.0 | ||
| responses==0.26.1 | ||
| ruff==0.15.17 | ||
| ruff==0.15.18 |
There was a problem hiding this comment.
Synchronize .pre-commit-config.yaml to match the bumped ruff version.
The requirements-dev.txt is being updated to ruff 0.15.18, but .pre-commit-config.yaml remains pinned to v0.15.17 (per the relevant code snippet). This creates a version mismatch:
- CI (GitHub Actions) will run ruff 0.15.18 (from requirements-dev.txt)
- Local developers' pre-commit hooks will run ruff 0.15.17 (from .pre-commit-config.yaml)
This divergence may cause lint/format results to differ between local and CI environments, defeating the purpose of consistent automation.
🔄 Proposed fix to synchronize .pre-commit-config.yaml
Update .pre-commit-config.yaml (line 11) to match:
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.15.17
+ rev: v0.15.18
hooks:🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@requirements-dev.txt` at line 5, Update the ruff version in
.pre-commit-config.yaml (around line 11) from v0.15.17 to v0.15.18 to match the
version bump in requirements-dev.txt. This ensures that both CI (running from
requirements-dev.txt) and local pre-commit hooks use the same ruff version,
preventing lint/format discrepancies between environments.
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps ruff from 0.15.17 to 0.15.18.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
6686f63Bump 0.15.18 (#26135)efbb732[ty] Suggest keyword-only arguments between variadic parameters (#26134)c256d5f[ty] SupportAnnotated[Any, ...]as a class base (#26133)19a4bea[flake8-pyi] Rename PYI033 to legacy-type-comment (#26131)1d9866cBump ecosystem-analyzer commit (#26130)8656c73[ty] Compact indexed AST node storage (#25998)c17c8d9[ty] Garbage-collect cached constraint sets (#26116)ef0fb8f[ty] Fix bound TypeVar default cycle recovery (#26124)b83c024[flake8-pyi] Extend PYI033 to Python files in preview (#26129)e8a5e38Update Rust crate zip to v8 (#26078)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)