Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use an internal isdigits() function instead of str.isdigit() | Arthur de Jong | 2019-04-29 | 1 | -2/+2 |
| | | | | | | | | | | | 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 | ||||
* | Make import ordering consistent | Arthur de Jong | 2017-09-11 | 1 | -1/+1 |
| | |||||
* | Docstring improvements | Arthur de Jong | 2017-09-11 | 1 | -6/+4 |
| | |||||
* | Add Estonian Registrikood | Arthur de Jong | 2017-09-04 | 1 | -0/+84 |
This is based on what was done by Mohammed Salman of Holvi. This adds more tests and validates the check digit. This uses the check digit algorithm from Isikukood which seems to work with all tested numbers although there is no confirmation that this is the correct algorithm. |