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

Performance improvement, bug fix (#56) and refactoring #57

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

gsrana1992
Copy link

  1. Added refactor_scheme_codes.py to help convert the list of scheme_codes in const.json file to a dictionary so the is_code performance will be improved.
  2. is_code method is refactored to directly return the intended boolean result.
  3. is_holiday function in utils.py is similarly refactored as well.
  4. getting import error due to relative import #56 is fixed to reference the util.pym corrently.
  5. Added 2 test cases for is_code method.

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