| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This adds a check to validate that the birth date information in a
personnummer is not set in the future, resolving a TODO from this file.
It also improves exception messages for certain validation fail
conditions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The problem with the latter is that it will also accept all kinds of
unicode digits that are not the ASCII 0-9 digits causing all kinds of
problems in check digit calculations.
Some of these unicode characters are also considered digits by int() but
some are not (such as the SUPERSCRIPT TWO unicode character).
Closes https://github.com/arthurdejong/python-stdnum/issues/96
|
|
|
|
|
|
|
| |
This ensures that formatting characters are also removed when formatted
numbers are passed to the get_birth_date() functions.
Closes https://github.com/arthurdejong/python-stdnum/issues/94
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
This adds the information that was previously in the Trac wiki into the
source docstrings because the Trac instance is being phased out.
This also includes small updates to the ISIL module.
|
|
|
|
| |
Makes the code slightly simpler and more compact.
|
| |
|
| |
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@174 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
usable format
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@161 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
vat identifier
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@153 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@152 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
module
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@119 9dea7c4f-944c-4273-ac1a-574ede026edc
|