| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The first two digits of the CUIT indicate the type of CUIT (personal,
company or international) and can only have certain values.
Closes https://github.com/arthurdejong/python-stdnum/issues/179
Closes https://github.com/arthurdejong/python-stdnum/pull/181
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/90
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/89
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
See https://github.com/arthurdejong/python-stdnum/issues/43
|
|
|
|
| |
Makes the code slightly simpler and more compact.
|
|
Based partially on the implementation in the vatnumber module.
|