Arthur de Jong

Open Source / Free Software developer

path: root/stdnum/ee
Commit message (Collapse)AuthorAgeFilesLines
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-293-6/+6
| | | | | | | | | | | 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
* Add documentationArthur de Jong2019-03-101-0/+4
* 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.
* Make import ordering consistentArthur de Jong2017-09-112-2/+2
* Docstring improvementsArthur de Jong2017-09-113-12/+10
* Add Estonian RegistrikoodArthur de Jong2017-09-041-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.
* Use zip() instead of enumerate()Arthur de Jong2015-10-051-2/+2
| | | | Makes the code slightly simpler and more compact.
* Add validation of Estonian personal IDTomas Karasek2015-08-161-0/+113
* Implement validate() for Estonian numbersArthur de Jong2013-06-081-8/+23
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-1/+1
| | | | | | usable format git-svn-id: 9dea7c4f-944c-4273-ac1a-574ede026edc
* for all countries, provide vat as an alias for the local ↵Arthur de Jong2012-02-191-0/+3
| | | | | | vat identifier git-svn-id: 9dea7c4f-944c-4273-ac1a-574ede026edc
* give all packages a descriptionArthur de Jong2012-02-191-0/+21
| | | | git-svn-id: 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a KMKR (Käibemaksukohuslase, Estonian VAT number) ↵Arthur de Jong2012-02-172-0/+56
module git-svn-id: 9dea7c4f-944c-4273-ac1a-574ede026edc