fix(deps): move ruff from runtime to dev dependency group - #2780
Conversation
ruff is a linter/formatter — it has no runtime purpose and adds ~11MB of platform-specific binaries to every install. It is already managed via pre-commit hooks (ruff-pre-commit), so it only needs to be available for local development. Move ruff from dependencies to [dependency-groups] dev. Co-authored-by: Cursor <cursoragent@cursor.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
WalkthroughRuff was removed from runtime dependencies and added to the development dependency group in ChangesDependency declaration update
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Cherry-pick Operations
Branch Management
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
PR Summary by QodoMove ruff from runtime deps to dev dependency group
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTo customize comments, go to the Qodo configuration screen, or learn more in the docs. |
|
/verified |
|
/cherry-pick v4.22 |
|
Cherry-pick requested for PR: |
|
Cherry-pick requested for PR: |
|
Cherry-pick requested for PR: |
|
Cherry-pick requested for PR: |
|
Cherry-pick requested for PR: |
What
Move
rufffrom runtimedependenciesto thedevdependency group inpyproject.toml.Why
ruffis a linter/formatter — it has no runtime purpose and adds ~11MB of platform-specific binaries to everypip install openshift-python-wrapper. It is already managed via pre-commit hooks (ruff-pre-commit), so it only needs to be available for local development.Changes
"ruff>=0.6.9"from[project] dependencies"ruff>=0.6.9"to[dependency-groups] devTesting
prek run— all hooks passeduv run --group tests pytest— 674 passed, 73.34% coverageMade with Cursor
Summary by CodeRabbit