Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/cz
Commit message (Collapse)AuthorAgeFilesLines
* Ensure we always run flake8-bugbearArthur de Jong2022-11-131-1/+1
| | | | | This assumes that we no longer use Python 2.7 for running the flake8 tests any more.
* Use HTTPS in URLs where possibleArthur de Jong2022-11-131-1/+1
|
* Add Czech bank account numberspetr.prikryl2022-08-142-0/+192
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/295 Closes https://github.com/arthurdejong/python-stdnum/pull/296
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-292-4/+4
| | | | | | | | | | | 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
* Call compact in get_birth_date() functionsArthur de Jong2019-01-291-1/+2
| | | | | | | This ensures that formatting characters are also removed when formatted numbers are passed to the get_birth_date() functions. Closes https://github.com/arthurdejong/python-stdnum/issues/94
* 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.
* Minor code improvements (mostly PEP8)Arthur de Jong2017-09-111-1/+1
|
* Docstring improvementsArthur de Jong2017-09-112-9/+7
|
* 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-082-51/+80
|
* re-add Python3 supportArthur de Jong2012-02-261-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@174 9dea7c4f-944c-4273-ac1a-574ede026edc
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-262-9/+13
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* make the get_birth_date() function publically availableArthur de Jong2012-02-241-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@163 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: http://arthurdejong.org/svn/python-stdnum/python-stdnum@153 9dea7c4f-944c-4273-ac1a-574ede026edc
* give all packages a descriptionArthur de Jong2012-02-191-0/+21
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@152 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
* add some info to descriptionArthur de Jong2012-02-101-1/+3
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@105 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a RČ (Rodné číslo, the Czech birth numbers) moduleArthur de Jong2012-02-052-0/+97
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@101 9dea7c4f-944c-4273-ac1a-574ede026edc