Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Drop pinning of pydocstyle now flake8-docstrings has ↵HEADmasterArthur de Jong2019-08-121-3/+0
| | | | | | been fixed Reverts 61c762d
* Show missing lines in coverage reportArthur de Jong2019-08-031-0/+4
|
* Fix Travis build to use trusty for some Python versionsArthur de Jong2019-08-031-4/+4
| | | | | Python 2.6 is not available xenial which is the default now. The coverage also does not seem to work for pypy3.
* Add Guatemalan NITLeandro Regueiro2019-07-233-0/+225
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/149 Closes https://github.com/arthurdejong/python-stdnum/issues/132
* Fix the Handelsregisternummer number matchingArthur de Jong2019-07-212-3/+19
| | | | | | | | | | This ensures that numbers of 1 digit are also accepted and that trailing characters are not silently discardede in the validation. This also adds a few test cases for this and makes "Paderborn früher Höxter" an alias for "Paderborn". Closes https://github.com/arthurdejong/python-stdnum/issues/143
* Lookup German Handelsregisternummer in OffeneRegister.deArthur de Jong2019-07-212-1/+108
| | | | | This supports looking up the German Handelsregisternummer using the online OffeneRegister.de web service.
* Do not require Python 2 for building Sphinx docsArthur de Jong2019-07-211-1/+0
| | | | | This results in tox using Python 3, mostly to work around https://sourceforge.net/p/docutils/bugs/365/
* Avoid newer pydocstyleArthur de Jong2019-07-211-0/+3
| | | | | | Do not install the latest pydocstyle because it currently breaks flake8-docstring. This pinning should be removed as soon as https://gitlab.com/pycqa/flake8-docstrings/issues/36 is resolved.
* Support normalising quotesArthur de Jong2019-07-141-0/+9
| | | | See https://github.com/arthurdejong/python-stdnum/issues/150
* Add Andorran TINLeandro Regueiro2019-07-073-0/+257
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/145 Closes https://github.com/arthurdejong/python-stdnum/issues/119
* Add Costa Rica foreigners identification numberLeandro Regueiro2019-06-242-0/+163
| | | | | Part of https://github.com/arthurdejong/python-stdnum/issues/141 Closes https://github.com/arthurdejong/python-stdnum/pull/140
* Add Costa Rica Cédula de IdentidadLeandro Regueiro2019-06-242-0/+312
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/139
* Add Costa Rica TIN numberLeandro Regueiro2019-06-243-0/+399
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/109
* Add South Africa TIN numberLeandro Regueiro2019-06-223-0/+171
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/129 Closes https://github.com/arthurdejong/python-stdnum/issues/108
* Add Paraguay RUC numberLeandro Regueiro2019-06-163-0/+386
| | | | | | | | This supports RUC number validation of rphysical persons, non-juridical persons and foreigners. Closes https://github.com/arthurdejong/python-stdnum/issues/122 Closes https://github.com/arthurdejong/python-stdnum/pull/123
* Update Dominican Republic e-CF documents typesJeffry Jesus De La Rosa2019-06-141-6/+18
| | | | | | | The document type values are different from the NCF document types https://dgii.gov.do/contribuyentes/personasFisicas/inicioOperaciones/ComprobantesFiscales/Paginas/comprobantesFiscalesElectronicos.aspx Closes https://github.com/arthurdejong/python-stdnum/pull/138
* Add Uruguay RUT numberLeandro Regueiro2019-06-143-0/+411
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/121 Closes https://github.com/arthurdejong/python-stdnum/issues/110
* Fix handelsregisternummer to not turn Hamburg into HomburgArthur de Jong2019-06-142-4/+21
| | | | | | | | | | | This changes the minimisation function that is used for comparison and canonicalisation to not reduce Hamburg and Homburg to the same string. This makes the function slightly more strict in which encoding differences to accept. This also adds a few aliases to the court names. Closes https://github.com/arthurdejong/python-stdnum/issues/136
* Support Dominican Republic e-CF within NCFJeffry Jesus De La Rosa2019-06-142-21/+59
| | | | | | | | e-CF is the new way of DGII document, is the same as NCF, but the difference one to another, is that e-CF has 13 digit and is electronic invoice, with this change it will validate the correct NCF and e-CF. Closes https://github.com/arthurdejong/python-stdnum/pull/135
* .gitignore: Also exclude some editor backup filesLeandro Regueiro2019-06-101-0/+1
|
* Add New Zealand IRD numberLeandro Regueiro2019-06-092-0/+170
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/112 Closes https://github.com/arthurdejong/python-stdnum/issues/104
* Ignore wrong docstring detectionArthur de Jong2019-06-021-1/+1
| | | | Fixes 170e599
* Rename stdnum.eu.nace.label() to get_label()Arthur de Jong2019-06-022-4/+15
| | | | | To be more consistent with other similar functions. This deprecates the old function which now is a wrapper around get_label().
* Add Vergi Kimlik NumarasıArthur de Jong2019-06-023-2/+319
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/99
* Add GTIN (EAN-14) validationSergi Almacellas Abellana2019-05-231-2/+4
|
* Add Venezuelan RIF (VAT number)Arthur de Jong2019-05-123-0/+369
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/97
* Fix remaining issue with encodingArthur de Jong2019-05-042-3/+5
| | | | | | | This also sets the python 2.6 interpreter explicityly because sometimes tox seems to get the wrong one. Fixes 680a95f
* Re-add Python 2.6 supportArthur de Jong2019-04-301-2/+2
| | | | Fixes 48ff92e
* Don't force "" strings to avoid escaping quotesArthur de Jong2019-04-291-0/+1
| | | | Fixes test failures with recent flake8-quotes.
* Convert various reasonable unicode digitsArthur de Jong2019-04-292-1/+41
| | | | | This converts many of the "reasonable" unicode digits that are just variations on ASCII 0-9 to their ASCII counterparts.
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-29116-245/+300
| | | | | | | | | | | 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
* Add Israeli identity numberArthur de Jong2019-04-042-0/+104
|
* Add Peruvian CUI (DNI)Arthur de Jong2019-03-242-0/+178
|
* Add Peruvian RUCArthur de Jong2019-03-243-0/+280
|
* Get files ready for 1.11 release1.11Arthur de Jong2019-03-1018-97/+439
| | | | This also adds the release notes to the generated documentation.
* Update database filesArthur de Jong2019-03-109-275/+563
|
* Switch update scripts to beautifulsoup4Arthur de Jong2019-03-104-10/+23
|
* Add documentationArthur de Jong2019-03-101-0/+4
|
* Remove broken linkArthur de Jong2019-03-101-1/+0
|
* Add New Zealand bank account numberArthur de Jong2019-03-105-0/+2795
|
* Add Moldavian IDNOArthur de Jong2019-03-033-0/+331
|
* Add more tests for Bulgarian EGNArthur de Jong2019-03-031-0/+42
|
* Rename MAC check_manufacturer to validate_manufacturerArthur de Jong2019-03-032-8/+8
| | | | | For consistency with the other validation modules that have an extra argument to disable or enable certain parts of the validation.
* Add Lithuanian Asmens kodasArthur de Jong2019-03-032-0/+123
|
* Add Greek AMKA social security numberArthur de Jong2019-03-032-0/+248
|
* Switch from import-order to isortArthur de Jong2019-03-0317-18/+31
|
* Fix typosArthur de Jong2019-02-174-7/+7
|
* Improvements reported by pylintArthur de Jong2019-02-174-12/+12
|
* Add Cuban número de identidadArthur de Jong2019-02-172-0/+130
|
* Return only first response from DGII lookupAndrés R2019-02-161-1/+2
| | | | | | | This fixes an issue when response for check_dgii() comes with 2 records instead of one for same RNC. Closes https://github.com/arthurdejong/python-stdnum/pull/95