fix(deps): update dependency ruff to v0.15.20 - #40
Conversation
📝 WalkthroughWalkthroughThe PR updates the ChangesTooling dependency bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Workflow source neededPR #40 needs either a linked GitHub issue or one valid non-issue Workflow Source before PR metadata automation can manage it safely. Please do one of:
Once a valid source is present, this warning will not be reposted. |
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 `@pyproject.toml`:
- Line 19: The Ruff version pin in pyproject.toml is now out of sync with the
repository’s tooling source of truth. Update the Ruff-related version handling
so the pin matches the value driven by .github/workflows/autofix-versions.env
and the mapping used in scripts/sync_dev_dependencies.py, keeping the dev
dependency contract aligned with the sync automation. Locate the Ruff entry in
pyproject.toml and make sure it reflects the same version as the workflow-backed
source.
🪄 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: ASSERTIVE
Plan: Pro Plus
Run ID: 4d8846a0-d160-4314-9d63-48770bc2e958
📒 Files selected for processing (1)
pyproject.toml
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
stranske/Workflows(auto-detected)
📜 Review details
⏰ Context from checks skipped due to timeout. (1)
- GitHub Check: pr_meta_pr / Update PR body sections
🧰 Additional context used
📓 Path-based instructions (3)
pyproject.toml
📄 CodeRabbit inference engine (.github/copilot-instructions.md)
pyproject.toml: For mypy type errors on modules with existing type issues, add overrides to pyproject.toml with ignore_errors = true instead of using exclude patterns
Use ignore_errors = true in mypy overrides instead of exclude patterns because exclude only prevents direct checking, not imports from other modules
Files:
pyproject.toml
{pyproject.toml,.github/workflows/**/*.{yml,yaml}}
📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Ensure coverage threshold settings match between pyproject.toml ([tool.coverage.report] fail_under) and workflow files (coverage-min setting)
Files:
pyproject.toml
{requirements*.txt,setup.py,pyproject.toml}
📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Pin jsonschema to compatible range jsonschema>=4.17.3,<4.23.0 due to breaking changes in version 4.23.0+ with referencing
Files:
pyproject.toml
| "mypy==2.1.0", | ||
| "black==26.5.1", | ||
| "ruff==0.15.19", | ||
| "ruff==0.15.20", |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Keep the Ruff pin in sync with the workflow source of truth.
.github/workflows/autofix-versions.env still hard-pins RUFF_VERSION=0.15.19, and scripts/sync_dev_dependencies.py maps that value directly to ruff. This change will diverge from the sync automation and can be overwritten or leave the repo with conflicting tool versions.
Proposed fix
- RUFF_VERSION=0.15.19
+ RUFF_VERSION=0.15.20As per coding guidelines, keep pyproject.toml dev-tool pins aligned with the repository’s tooling contract.
🤖 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 `@pyproject.toml` at line 19, The Ruff version pin in pyproject.toml is now out
of sync with the repository’s tooling source of truth. Update the Ruff-related
version handling so the pin matches the value driven by
.github/workflows/autofix-versions.env and the mapping used in
scripts/sync_dev_dependencies.py, keeping the dev dependency contract aligned
with the sync automation. Locate the Ruff entry in pyproject.toml and make sure
it reflects the same version as the workflow-backed source.
🤖 Keepalive Loop StatusPR #40 | Agent: Codex | Iteration 0/5 Current State
🔍 Failure Classification| Error type | infrastructure | |
|
Closing as superseded by stranske/Workflows#2537. This PR only bumps pyproject.toml to ruff==0.15.20, while the shared dev-tool pin is owned by Workflows .github/workflows/autofix-versions.env and must move together with pyproject.toml, requirements.lock, and the template env files. |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
==0.15.19→==0.15.20Release Notes
astral-sh/ruff (ruff)
v0.15.20Released on 2026-06-25.
Preview features
noqashebang handling inruff:ignorecomments (#26286)ruff] Removepytest-fixture-autouse(RUF076) (#26240, #26371)Documentation
ruff_python_parserREADME for crates.io (#26315)perflint] Clarify thatPERF402applies to any iterable (#26242)Contributors
Configuration
📅 Schedule: (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.
This PR was generated by Mend Renovate. View the repository job log.
Summary by CodeRabbit