| 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 introduces a new module for switching the validation scheme. Instead of
using the is_valid() function that returns a boolean a validate() function
either returns the sanitised number or raises an exception that should
indicate the kind of validation failure.
This should make it easier for applications calling this library to present
more informative messages to the user.
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@162 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@93 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
hack) to get coverage to 100%
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@29 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
documentation
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@19 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
directories
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@9 9dea7c4f-944c-4273-ac1a-574ede026edc
|