8000 Update aadhaar.py and pan.py + Add Indian EPIC and GSTIN by vairag22 · Pull Request #279 · arthurdejong/python-stdnum · GitHub
[go: up one dir, main page]

Skip to content

Update aadhaar.py and pan.py + Add Indian EPIC and GSTIN #279

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

Closed
wants to merge 3 commits into from
Closed

Update aadhaar.py and pan.py + Add Indian EPIC and GSTIN #279

wants to merge 3 commits into from

Conversation

vairag22
Copy link
Contributor
  • aadhaar.py Improved validation and docstrings, and did other changes as per PEP8
  • pan.py Improved validation and docstrings, and did other changes as per PEP8
  • epic.py Added support for handling EPIC number (Indian voter identification number)
  • gstin.py Added support for handling GSTIN (Indian VAT number)

@vairag22
Copy link
Contributor Author

Took 3 bad pull requests (#276, #277, #278) but finally I'm done. It was a good learning experience though.

arthurdejong pushed a commit that referenced this pull request Oct 2, 2021
arthurdejong pushed a commit that referenced this pull request Oct 2, 2021
@arthurdejong
Copy link
Owner

Hi @vairag22

Thanks for your contributions.

I've merged your changes with some modifications. Specifically I reverted some of your changes to Aadhaar and PAN to maintain the current API (e.g. renamed card_holder_type to holder_type but also kept the old name to not break third-party code that relies on that).

In the GSTIN module I delegated some of the checking to the PAN module to avoid duplication.

Btw, you can easily run the tests locally with tox which should save you some time in pushing commits to test them.

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.

2 participants
0