Update Marshall Islands holidays: fix General Election Day#3337
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #3337 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 310 310
Lines 18578 18578
Branches 2379 2379
=========================================
Hits 18578 18578 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
Summary by CodeRabbitMarshall Islands Holidays Updated
WalkthroughMarch 1 remembrance-day label changed to "Memorial Day and Nuclear Survivors Remembrance Day" for 2004–2005 only; General Election Day now applies only for years >= 2015 and year % 4 == 3; docstring/public-law references and tests/snapshots updated accordingly. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@holidays/countries/marshall_islands.py`:
- Line 29: Remove the non-authoritative article reference string
("http://archive.today/.../https://www.pomoculture.org/...") from the Marshall
Islands holidays module; edit the marshall_islands.py source to delete that URL
entry from the references/comments so only legal/public-law links that support
rule history remain, and ensure no test fixtures or docstrings depend on that
line (search for the URL or any reference list variable in the module such as
class or module-level references to confirm removal).
🪄 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: 80ce4736-c08f-4a3e-919d-eda20c47e867
📒 Files selected for processing (3)
holidays/countries/marshall_islands.pysnapshots/countries/MH_COMMON.jsontests/countries/test_marshall_islands.py
Co-authored-by: ~Jhellico <KJhellico@users.noreply.github.com> Signed-off-by: Panpakorn Siripanich <19505219+PPsyrius@users.noreply.github.com>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@tests/countries/test_marshall_islands.py`:
- Around line 37-46: The long test assertion in
test_nuclear_victims_remembrance_day exceeds the 99-char limit; refactor the
assertNoHolidayName call that checks name_2003 so the long range arguments are
split across multiple lines (e.g., place each range(...) argument on its own
line or assign the ranges to short-named variables before calling
assertNoHolidayName) while keeping the same arguments and using the existing
assertNoHolidayName symbol to preserve behavior.
🪄 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: 354d931f-5a3e-4d3a-be23-dfd298e61650
📒 Files selected for processing (2)
holidays/countries/marshall_islands.pytests/countries/test_marshall_islands.py
|
Proposed change
I've re-strumbled on my own unfinished branch for Marshall Islands from last year and added some post-1998 changes that wasn't part of #3335, which includes:
Type of change
holidaysfunctionality in general)Checklist
make checklocally; all checks and tests passed.