| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that the tests fail if 100% branch coverage is not
achieved. It also adds some pragma statements for code that cannot be
covered or is Python version dependent.
Furthermore, the get_module_list() function was removed from stdnum.util
and more tests were made from stdnum.util and stdnum.numdb. The
functionality to call format() in a country-specific IBAN implementation
was also dropped because it was not used.
|
|
|
|
|
|
| |
This moves the conversion of an alphanumeric string to a numeric
representation for modulo 97 calculation to the mod_97_10 module because
this mechanism seems to be used by multiple formats.
|
|
|
|
|
|
| |
This adds the possible of validating the country-specific part of the
IBAN. If the country has an IBAN module, checking is also delegated to
that module.
|
|
|
|
|
|
| |
Introduce a function to calculate the two check digits of an IBAN. Since
the check digits are the third and fourth characters in the number,
placeholders need to be provided when calling this function.
|
|
|
|
|
| |
Also fix a docstring in stdnum.nl.bsn and add a pointer to
stdnum.nl.onderwijsnummer.
|
|
|
|
|
|
|
| |
This adds the information that was previously in the Trac wiki into the
source docstrings because the Trac instance is being phased out.
This also includes small updates to the ISIL module.
|
|
|
|
|
|
|
| |
Ensure that regular expressions are r'' strings, avoid too long lines
and fix line wrapping. Also avoid catching toplevel Exception when
possible and use binascii for hex to binary conversion which is
available in both Python 2 and 3.
|
| |
|
| |
|
| |
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@168 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
usable format
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
expected to be covered
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@156 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
functions (for now clean())
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@100 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@76 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
_convert() call)
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@59 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@51 9dea7c4f-944c-4273-ac1a-574ede026edc
|