| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This improves consistency across files and fixes some files that had an
incorrect file name reference.
|
|
|
|
|
|
| |
More information at https://dvv.fi/en/reform-of-personal-identity-code
Cloess https://github.com/arthurdejong/python-stdnum/pull/396
|
| |
|
|
|
|
|
|
|
| |
This adds an optional allow_temporary parameter, which defaults to
False, to the validate() function.
Closes https://github.com/arthurdejong/python-stdnum/pull/191
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
The range between 900 and 999 is reserved for temporary identifiers and
is not given to any real person.
Closes https://github.com/arthurdejong/python-stdnum/pull/66
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This also brings the list of Python versions in setup.py in line with
tox.ini.
|
|
|
|
| |
Makes the code slightly simpler and more compact.
|
| |
|
|
|
|
|
|
| |
This uses the stdnum.fi.alv module more extensively and ensures that
validate() returns a compact representation and a separate format()
function is available.
|
| |
|
|
|
|
|
|
| |
This implements separate functions compact() and format() and fixes the
doctests. This also implements a whitelist of registered short numbers
to avoid accidentally validating just any number.
|
| |
|
| |
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@174 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
usable format
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
vat identifier
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@153 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@152 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
number) module
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@131 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
provided by Jussi Judin (#5)
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@92 9dea7c4f-944c-4273-ac1a-574ede026edc
|