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

Add Ghana holidays #1639

Merged
merged 16 commits into from
Jan 26, 2024
Merged

Add Ghana holidays #1639

merged 16 commits into from
Jan 26, 2024

Conversation

JerryAgbesi
Copy link
Contributor

Proposed change

Adds support for official public holidays observed in Ghana

closes #1191

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/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

@coveralls
Copy link

coveralls commented Jan 11, 2024

Pull Request Test Coverage Report for Build 7671158053

Warning: This coverage report may be inaccurate.

We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

  • 0 of 40 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 7635551030: 0.0%
Covered Lines: 10426
Relevant Lines: 10426

💛 - Coveralls

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.

@JerryAgbesi thank you for implementing a new country support. The first one in 2024!

Please take a look at some improvement suggestions when you have a chance:

.pre-commit-config.yaml Outdated Show resolved Hide resolved
README.rst Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
tests/countries/test_ghana.py Show resolved Hide resolved
Copy link
Collaborator

@KJhellico KJhellico left a comment

Choose a reason for hiding this comment

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

@JerryAgbesi, new countries are always welcomed! 👍 Please take a look at a few suggestions.

holidays/countries/ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
@JerryAgbesi
Copy link
Contributor Author

Alright great, I'll add in the changes. Cheers 🥂

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.

Hey @JerryAgbesi great work on the PR!

Please take a look at another round of my (mostly consistency enforcing) comments.
It seems it's good to go to beta after that 👍

holidays/countries/ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
tests/countries/test_ghana.py Outdated Show resolved Hide resolved
@JerryAgbesi JerryAgbesi requested a review from arkid15r January 24, 2024 20:17
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

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.

@KJhellico I hope we can finally accept it?

tests/countries/test_ghana.py Outdated Show resolved Hide resolved
holidays/countries/ghana.py Outdated Show resolved Hide resolved
@arkid15r arkid15r enabled auto-merge January 26, 2024 17:21
@KJhellico KJhellico changed the title Add Ghana public holidays Add Ghana holidays Jan 26, 2024
Copy link
Collaborator

@KJhellico KJhellico 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 added this pull request to the merge queue Jan 26, 2024
Merged via the queue into vacanza:beta with commit 08e3dc7 Jan 26, 2024
26 checks passed
@KJhellico KJhellico mentioned this pull request Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Ghana holidays
4 participants