| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
The validation functions supported an optional parameter to disable
check digit validation in the number that didn't actually affect
validation and was most likely accidentally copied from the RFC module.
Fixes 50874a9
Closes https://github.com/arthurdejong/python-stdnum/issues/285
|
| |
|
| |
|
|
|
|
|
| |
Fix an issue where the format accepted a mix of personal and company
numberer in validation causing in a raised ValueError exception.
|
|
|
|
|
|
| |
A few modules use non-ASCII characters in numbers. This introduces a
to_unicode() function in util so that it can be used by multiple
modules.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Re-enable the flake8 test for unused imports by explicitly marking
imports for namespace purposes. This allows us to remove a few unused
imports.
A few more cleanups that allow us to reduce the number of ignored flake8
ignored tests. The remaining ignored tests are now documented.
Ignore a flake8 warning about print statements because we use print in
the update scripts.
|
| |
|
|
|
|
|
| |
Also fix a docstring in stdnum.nl.bsn and add a pointer to
stdnum.nl.onderwijsnummer.
|
|
|
|
|
|
|
|
| |
There is an online service that allows validating RFC numbers. It seems
there are a lot of numbers that do not match the check digit algorithm
which confirms disabling the check digit test by default is a good idea.
Also see https://github.com/arthurdejong/python-stdnum/issues/32
|
|
This adds support for the Mexican tax number RFC (Registro Federal de
Contribuyentes).
This module includes a number of checks on the number but the validation
of the last check digit is disabled by default because a large number of
numbers were found that were otherwise valid but had an invalid check
digit.
|