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

Minor cleanups #209

Merged
merged 1 commit into from
Jun 12, 2017
Merged

Minor cleanups #209

merged 1 commit into from
Jun 12, 2017

Conversation

brunobord
Copy link
Member

@brunobord brunobord commented Jun 9, 2017

  • Hungary: a more clever take on the Good Friday rule
  • Iceland: using extend instead of +=
  • Ireland: a more clever take on Whit Monday rule
  • Latvia: using extend for lists, instead of +=
  • Netherlands: using .append for just one day to add
  • Spain: remove the ugly u''
  • Japan: readability changes
  • Taiwan: using extend for lists, instead of +=
  • Canada: using extend and append for lists
  • Australia: using extend instead of += + minor code reflow
  • USA: using extend and append when needed, fixed a few docstrings, removed unnecessary 'super' calls

@brunobord brunobord force-pushed the small-refactors-variable-days branch 2 times, most recently from e461522 to 9bd824f Compare June 9, 2017 16:11
* Hungary: a more clever take on the Good Friday rule
* Iceland: using ``extend`` instead of ``+=``
* Ireland: a more clever take on Whit Monday rule
* Latvia: using ``extend`` for lists, instead of ``+=``
* Netherlands: using ``.append`` for just *one* day to add
* Spain: remove the ugly ``u''``
* Japan: readability changes
* Taiwan: using ``extend`` for lists, instead of ``+=``
* Canada: using ``extend`` and ``append`` for lists
* Australia: using ``extend`` instead of ``+=`` + minor code reflow
* USA: using ``extend`` and ``append`` when needed, fixed a few docstrings, removed unnecessary 'super' calls
@brunobord brunobord force-pushed the small-refactors-variable-days branch from 9bd824f to f2fd603 Compare June 12, 2017 07:27
@brunobord brunobord merged commit d5a534a into master Jun 12, 2017
@brunobord brunobord deleted the small-refactors-variable-days branch June 12, 2017 07:35
brunobord added a commit that referenced this pull request Jun 23, 2017
- Major refactor in the USA module. Each State is now an independant module, all of the Mixins were removed, all the possible corrections have been made, following the main Wikipedia page, and cross-checking with official sources when it was possible (#171).
- Added District of Columbia in the USA module (#217).
- Run tests with Python3.6 in CI (#210)
- Small refactors / cleanups in the following calendars: Hungary, Iceland, Ireland, Latvia, Netherlands, Spain, Japan, Taiwan, Australia, Canada, USA (#209).
- Various refactors for the Asia module, essentially centered around a more convenient Chinese New Year computation toolset (#202).
- Refactoring the USA tests: using inheritance to test federal and state-based holidays using only one "Don't Repeat Yourself" codebase (#213).
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.

None yet

1 participant