Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/fr/nir.py
Commit message (Collapse)AuthorAgeFilesLines
* Use HTTPS in URLs where possibleArthur de Jong2020-03-201-1/+1
|
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-3/+3
| | | | | | | | | | | 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
* Minor code improvements (mostly PEP8)Arthur de Jong2017-09-111-5/+14
|
* Docstring improvementsArthur de Jong2017-09-111-4/+3
|
* Switch to HTTPS URLsArthur de Jong2017-04-131-2/+2
|
* Move NIR check digit calculation to functionArthur de Jong2016-07-261-15/+30
| | | | | This also fixes a number of formatting issues, improves the module description and adds tests for the 2A and 2B departments.
* Improve French NIR validationDimitri Papadopoulos2016-07-261-5/+14
| | | | | Please note that the 7th character of the NIR might be 'A' or 'B'. Other than that the NIR contains digits only.
* Add French NIRDimitri Papadopoulos2016-05-271-0/+80
Add module for NIR also known as social security number.