| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The number uses the French TVA number but, unlike normal French VAT
numbers, they are not valid French SIREN numbers.
See https://github.com/arthurdejong/python-stdnum/issues/46
|
|
|
| |
Fixes 2409ee9.
|
|
|
|
| |
Add module for NIF also known as SPI number.
|
|
|
|
|
| |
This also fixes a number of formatting issues, improves the module
description and adds tests for the 2A and 2B departments.
|
|
|
|
|
| |
Please note that the 7th character of the NIR might be 'A' or 'B'. Other
than that the NIR contains digits only.
|
|
|
|
|
|
|
|
| |
This adds tests for a few numbers that have been found online and allows
the dot as a seprator because those numbers were found.
It also ensures that the SIREN validation is also called for SIRET and
adds a SIRET formatting function.
|
|
|
|
|
| |
Add a SIRET (Système d'Identification du Répertoire des ETablissements,
a French company etablishment identification number) module.
|
|
|
|
| |
Add module for NIR also known as social security number.
|
| |
|
| |
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@166 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
usable format
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 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
|
|
|
|
|
|
| |
valeur ajoutée, French VAT number) module
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@137 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
des Entreprises, a French company identification number) module
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@102 9dea7c4f-944c-4273-ac1a-574ede026edc
|