Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/eu/nace.py
Commit message (Collapse)AuthorAgeFilesLines
* Put long line flake8 ignores in files instead of globallyArthur de Jong2022-08-131-1/+1
| | | | | | | | We have some long URLs in the code (mostly in docstrings) and wrapping them does not improve readability (and is difficult in docstrings) so the E501 ignore is now put inside each file instead of globally. Closes https://github.com/arthurdejong/python-stdnum/pull/302
* Use HTTPS in URLs where possibleArthur de Jong2020-03-201-1/+1
|
* Broaden noqa docstring exclusionArthur de Jong2019-12-271-1/+1
| | | | | | Nowadays flake8 seems to report this as D401 (First line should be in imperative mood) while before it was D402 (First line should not be the function’s signature).
* Ignore wrong docstring detectionArthur de Jong2019-06-021-1/+1
| | | | Fixes 170e599
* Rename stdnum.eu.nace.label() to get_label()Arthur de Jong2019-06-021-3/+13
| | | | | To be more consistent with other similar functions. This deprecates the old function which now is a wrapper around get_label().
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-2/+2
| | | | | | | | | | | 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
* Minor code improvements (mostly PEP8)Arthur de Jong2017-09-111-1/+1
|
* Docstring improvementsArthur de Jong2017-09-111-5/+5
|
* Add European NACE classificationArthur de Jong2017-03-261-0/+109
This number is used to classify business. Validation is done based on a downloaded registry.