Skip to content
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

Update Japan holidays #2013

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Update Japan holidays #2013

merged 2 commits into from
Sep 23, 2024

Conversation

KJhellico
Copy link
Collaborator

Proposed change

Update Japan holidays:

  • refactor substitute and national holidays calculation
  • add Bank Holiday on Jan 1
  • update tests

Type of change

  • New country/market holidays support (thank you!)
  • Supported country/market holidays update (calendar discrepancy fix, localization)
  • Existing code/documentation/test/process quality improvement (best practice, cleanup, refactoring, optimization)
  • Dependency update (version deprecation/pin/upgrade)
  • Bugfix (non-breaking change which fixes an issue)
  • Breaking change (a code change causing existing functionality to break)
  • New feature (new python-holidays functionality in general)

Checklist

  • I've followed the contributing guidelines
  • I've run make pre-commit, it didn't generate any changes
  • I've run make test, all tests passed locally

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (2a7442d) to head (d46c766).
Report is 4 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev     #2013   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          188       189    +1     
  Lines        11409     11458   +49     
  Branches      1791      1795    +4     
=========================================
+ Hits         11409     11458   +49     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@PPsyrius PPsyrius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🇯🇵

arkid15r
arkid15r previously approved these changes Sep 23, 2024
Copy link
Collaborator

@arkid15r arkid15r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

holidays/countries/japan.py Outdated Show resolved Hide resolved
Co-authored-by: Arkadii Yakovets <[email protected]>
Copy link

sonarcloud bot commented Sep 23, 2024

@arkid15r arkid15r added this pull request to the merge queue Sep 23, 2024
Merged via the queue into vacanza:dev with commit cb30b0f Sep 23, 2024
32 checks passed
@KJhellico KJhellico deleted the upd-japan branch September 23, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants