fix(dev): align ruff pre-commit hook - #5799
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 12 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe pre-commit configuration updates the Ruff repository revision from ChangesRuff revision update
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Pull request overview
Updates the repository’s pre-commit configuration to align the ruff-pre-commit hook version with the canonical Ruff pin referenced by the dev-tool sync workflow/PR context.
Changes:
- Bumped
astral-sh/ruff-pre-commithookrevfromv0.16.0tov0.16.2in.pre-commit-config.yaml.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c4c1e700fc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| - repo: https://github.com/astral-sh/ruff-pre-commit | ||
| rev: v0.16.0 | ||
| rev: v0.16.2 |
There was a problem hiding this comment.
Keep the Ruff hook aligned with the canonical pin
Set this revision to v0.16.1 (or update all canonical pins in the same commit): .github/workflows/autofix-versions.env:8 and pyproject.toml:115 still specify Ruff 0.16.1, and scripts/style_gate_local.sh installs the env-file version. Contributors running pre-commit therefore use 0.16.2 while the documented local/CI mirror uses 0.16.1, so patch-specific diagnostics or fixes can make the two quality gates disagree until the anticipated follow-up change lands.
Useful? React with 👍 / 👎.
Companion repair for generated dev-tool sync PR #5798.
Updates only the repo-local
ruff-pre-commithook fromv0.16.0tov0.16.2, aligning it with the canonical Ruff pin. After this lands, Maint 52 should generate a clean replacement for #5798; the generated PR itself remains unmodified.Summary by CodeRabbit