Bump ruff from 0.15.20 to 0.16.0 - #53
Conversation
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.20 to 0.16.0. - [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.20...0.16.0) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.16.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe development dependency pin for Ruff is updated from version 0.15.20 to 0.16.0 in ChangesRuff dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested labels: Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ 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 pin in the pre-commit configuration to v0.16.0
so the astral-sh/ruff-pre-commit hook matches the ruff==0.16.0 dependency in
requirements-dev.txt.
🪄 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: e7e0ac6e-25fd-4e70-81a7-37869dfada7d
📒 Files selected for processing (1)
requirements-dev.txt
| pytest-cov==7.1.0 | ||
| responses==0.26.1 | ||
| ruff==0.15.20 | ||
| ruff==0.16.0 |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
set -e
printf '\n== requirements-dev.txt ==\n'
cat -n requirements-dev.txt
printf '\n== .pre-commit-config.yaml ==\n'
cat -n .pre-commit-config.yaml
printf '\n== CI/workflow Ruff references ==\n'
rg -n "ruff|pre-commit|requirements-dev" .github . -g '!**/.git/**'Repository: finallyjay/packagist-tracker
Length of output: 2146
🏁 Script executed:
set -e
git ls-files 'requirements-dev.txt' '.pre-commit-config.yaml' '.github/**' | sed -n '1,200p'Repository: finallyjay/packagist-tracker
Length of output: 373
🏁 Script executed:
set -e
printf 'root:%s\n' "$PWD"
ls -1Repository: finallyjay/packagist-tracker
Length of output: 371
Align the Ruff pre-commit hook with requirements-dev.txt. .pre-commit-config.yaml still pins astral-sh/ruff-pre-commit to v0.15.17 while requirements-dev.txt uses ruff==0.16.0, so local hooks and CI run different Ruff versions. Bump the hook to v0.16.0.
🤖 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 pin in the
pre-commit configuration to v0.16.0 so the astral-sh/ruff-pre-commit hook
matches the ruff==0.16.0 dependency in requirements-dev.txt.
Bumps ruff from 0.15.20 to 0.16.0.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
a2635fdBump 0.16.0 (#27136)3433449[ty] Reuse full call diagnostics for implicit setter calls (#27115)2240070Reflectruff: ignoreand--add-ignorestabilization in documentation (#27...17ef711Stabilize--add-ignore(#27125)ef912bbAdd newly stabilized rules to defaults (#27055)b30f040Stabilize new default rules (#27035)bcd70c5Exclude Markdown files fromformat-devruns (#27052)87e51e2Fixformat --checkspans for syntax errors (#27045)afe2723[flake8-gettext] Stabilize qualified-name and built-in binding resolution (...a9702d8[flake8-bandit] Stabilize string literal binding resolution (S310) (#26944)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)