Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/pt
Commit message (Collapse)AuthorAgeFilesLines
* Update the flake8 ignore listArthur de Jong2018-02-141-1/+1
| | | | | | | | | | | | 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.
* Docstring improvementsArthur de Jong2017-09-111-4/+3
|
* Code style improvementsArthur de Jong2015-10-111-1/+2
| | | | | | | 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.
* Implement validate() for Portuguese VAT numbersArthur de Jong2013-06-081-10/+22
|
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-2/+5
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* for all countries, provide vat as an alias for the local ↵Arthur de Jong2012-02-191-0/+3
| | | | | | vat identifier git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@153 9dea7c4f-944c-4273-ac1a-574ede026edc
* give all packages a descriptionArthur de Jong2012-02-191-0/+21
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@152 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a NIF (Número de identificação fiscal, Portuguese ↵Arthur de Jong2012-02-162-0/+58
VAT number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@129 9dea7c4f-944c-4273-ac1a-574ede026edc