8000 Mexico mx.curp validate function validate_check_digits parameter not used. · Issue #285 · arthurdejong/python-stdnum · GitHub
[go: up one dir, main page]

Skip to content

Mexico mx.curp validate function validate_check_digits parameter not used. #285

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
guyskk opened this issue Jan 3, 2022 · 1 comment
Closed

Comments

@guyskk
Copy link
guyskk commented Jan 3, 2022

It's default to False, but actually always validate check digits.
https://github.com/arthurdejong/python-stdnum/blob/master/stdnum/mx/curp.py#L112

Expect it default to True, and skip validate check digits if assigned False.

@arthurdejong
Copy link
Owner

Thanks for pointing this out, fixed in 02dec52.

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

No branches or pull requests

2 participants
0