Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/cz/dic.py
Commit message (Collapse)AuthorAgeFilesLines
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-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
* Minor code improvements (mostly PEP8)Arthur de Jong2017-09-111-1/+1
|
* Docstring improvementsArthur de Jong2017-09-111-4/+3
|
* Fix Czech DIČ check digit calculationArthur de Jong2017-09-081-3/+3
| | | | | | | | This fixes a bug in the check digit calculation for the 9-digit numbers that start with a 6 for individuals without a RČ. This also adds a few tests for Czech VAT numbers. See https://github.com/arthurdejong/python-stdnum/issues/51
* Implement validate() for Czech numbersArthur de Jong2013-06-081-22/+37
|
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-5/+5
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a DIČ (Daňové identifikační číslo, Czech VAT ↵Arthur de Jong2012-02-171-0/+86
number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@132 9dea7c4f-944c-4273-ac1a-574ede026edc