-
-
Notifications
You must be signed in to change notification settings - Fork 556
Update Switzerland holidays: standardize code comment #2941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Summary by CodeRabbit
No functional changes: holiday sets, dates, and API remain unchanged. WalkthroughCosmetic updates to holidays/countries/switzerland.py: added inline holiday labels/comments and reflowed long call arguments for readability, notably in _add_observed for Stephanstag. No logic, behavior, control flow, or public API changes. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (15)📓 Common learnings
📚 Learning: 2025-06-18T10:26:50.180Z
Applied to files:
📚 Learning: 2025-06-16T11:42:28.293Z
Applied to files:
📚 Learning: 2025-06-18T10:18:59.447Z
Applied to files:
📚 Learning: 2025-06-19T02:34:18.382Z
Applied to files:
📚 Learning: 2025-06-18T10:07:58.780Z
Applied to files:
📚 Learning: 2025-06-18T10:58:28.058Z
Applied to files:
📚 Learning: 2025-03-30T20:18:46.006Z
Applied to files:
📚 Learning: 2025-09-14T17:17:14.353Z
Applied to files:
📚 Learning: 2025-06-16T11:46:35.303Z
Applied to files:
📚 Learning: 2025-07-09T20:27:37.760Z
Applied to files:
📚 Learning: 2025-07-02T18:17:53.342Z
Applied to files:
📚 Learning: 2025-06-14T11:04:31.180Z
Applied to files:
📚 Learning: 2025-07-10T03:36:16.461Z
Applied to files:
📚 Learning: 2025-07-10T03:36:16.461Z
Applied to files:
🔇 Additional comments (5)
Warning Tools execution failed with the following error: Failed to run tools: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error) 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 #2941 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 296 296
Lines 17596 17596
Branches 2270 2270
=========================================
Hits 17596 17596 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Proposed change
Standardise code comment for Switzerland so that all string has
en_US
code comment above (for maintainability mostly) - the same way it's done elsewhere, i.e. Germany.This is part of the non-test case changes decoupling from #2881
Type of change
holidays
functionality in general)Checklist
make check
locally; all checks and tests passed.