Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/co
Commit message (Collapse)AuthorAgeFilesLines
* Docstring improvementsArthur de Jong2017-09-111-5/+4
|
* Code style improvementsArthur de Jong2015-10-111-3/+3
| | | | | | | 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.
* Update Colombian NIT checksArthur de Jong2015-10-051-19/+10
| | | | | | | | | This adds a number of tests for numbers found online. The length check has also been revisited because both shorter numbers and longer number have been found. This also updates the format() function to handle arbitrary length numbers.
* Use zip() instead of enumerate()Arthur de Jong2015-10-051-2/+2
| | | | Makes the code slightly simpler and more compact.
* Add Colombian NIT/RUT (VAT) codeArthur de Jong2015-04-232-0/+117
Based on the implementation in the vatnumber module.