Update pre-commit config#3619
Conversation
Summary by CodeRabbit
WalkthroughUpdated ChangesPre-commit Hook Configuration Updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #3619 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 315 315
Lines 18843 18843
Branches 2411 2411
=========================================
Hits 18843 18843 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
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 @.pre-commit-config.yaml:
- Around line 63-64: The pinned types stubs for polib and python-dateutil are
fine, but the requests typing decision is unsafe: either keep the types-requests
stub in the dev dependencies or raise the requests lower bound to >=2.34.0 so
inline annotations are present; update the dependency list accordingly by either
re-adding types-requests or changing the requests entry in your dev dependencies
(and remove the types-requests removal), and ensure the pinned stub entries
types-polib==1.2.0.20260518 and types-python-dateutil==2.9.0.20260518 remain
as-is.
🪄 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: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 3bbd5296-32b4-4494-8557-fecc9e06f2b8
📒 Files selected for processing (1)
.pre-commit-config.yaml
Proposed change
Update pre-commit config:
types-requestsdependency (asrequestspackage includes type annotations since version 2.34.0)Type of change
holidaysfunctionality in general)Checklist
make checklocally; all checks and tests passed.