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 Algeria holidays #1176

Merged
merged 8 commits into from
May 12, 2023
Merged

Add Algeria holidays #1176

merged 8 commits into from
May 12, 2023

Conversation

abh31000
Copy link
Contributor

@abh31000 abh31000 commented May 11, 2023

Proposed change

Added Algeria holidays
Closes #1145
Stuck at 82% coverage. Can anyone tell me what I'm missing here?

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 upgrade (version update)
  • 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
  • This PR is filed against beta branch of the repository
  • This PR doesn't contain any merge conflicts and has clean commit history
  • The code style looks good: make pre-commit
  • All tests pass locally: make test, make tox (we strongly encourage adding tests to your code)
  • The related documentation has been added/updated (check off the box for free if no updates is required)

@KJhellico
Copy link
Collaborator

@abh31000, thank you for your contribution!

Seems your code based on master branch. You need to merge latest beta and add new line to holidays/registry.py for Algeria.

holidays/countries/algeria.py Outdated Show resolved Hide resolved
holidays/countries/algeria.py Outdated Show resolved Hide resolved
@coveralls
Copy link

coveralls commented May 11, 2023

Coverage Status

Coverage: 99.729% (+0.001%) from 99.728% when pulling 2dc14a2 on abh31000:add-algeria into af76470 on dr-prodigy:beta.

@arkid15r arkid15r changed the title Added Algeria holidays Add Algeria holidays May 11, 2023
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.

Hi @abh31000,
thank you so much for implementing the Algeria holidays!

We're excited to see a new contributor! Also thanks a lot for addressing all the comments in such a timely manner.

I left a couple of minor comments below. Otherwise your code looks good!

P.S. as for the coverage issue you had with your first commit of this PR -- you can find out the uncovered lines by running make coverage (which is an alias for pytest --cov=. --cov-config=pyproject.toml --cov-report term-missing --dist loadscope --no-cov-on-fail --numprocesses auto)

tests/countries/test_algeria.py Outdated Show resolved Hide resolved
holidays/countries/algeria.py Outdated Show resolved Hide resolved
@abh31000
Copy link
Contributor Author

Hi @abh31000, thank you so much for implementing the Algeria holidays!

We're excited to see a new contributor! Also thanks a lot for addressing all the comments in such a timely manner.

I left a couple of minor comments below. Otherwise your code looks good!

P.S. as for the coverage issue you had with your first commit of this PR -- you can find out the uncovered lines by running make coverage (which is an alias for pytest --cov=. --cov-config=pyproject.toml --cov-report term-missing --dist loadscope --no-cov-on-fail --numprocesses auto)

You're welcome!
And now with this commit the test coverage is 100%.

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

@arkid15r arkid15r added the ready for beta Ready to merge on beta branch label May 12, 2023
@arkid15r arkid15r merged commit 82bd403 into vacanza:beta May 12, 2023
@arkid15r arkid15r removed the ready for beta Ready to merge on beta branch label May 12, 2023
@arkid15r
Copy link
Collaborator

Great work 👍, merged into beta!

Thank you!

This was referenced May 15, 2023
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.

4 participants