Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/mx
Commit message (Collapse)AuthorAgeFilesLines
* Update the flake8 ignore listArthur de Jong2018-02-141-1/+1
| | | | | | | | | | | | 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.
* Docstring improvementsArthur de Jong2017-09-111-3/+3
|
* Make more information links consistentArthur de Jong2016-04-111-4/+6
| | | | | Also fix a docstring in stdnum.nl.bsn and add a pointer to stdnum.nl.onderwijsnummer.
* Document accuracy of RFC check digit testArthur de Jong2016-04-011-2/+6
| | | | | | | | 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
* Add Mexican RFC numberArthur de Jong2015-10-052-0/+174
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.