| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
This stops using not as a function and hopefully also makes the logic
clearer.
|
|
|
|
| |
https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
|
|
|
|
|
|
|
| |
Nose hasn't seen a release since 2015 and sadly doesn't work with Python
3.10.
See https://github.com/nose-devs/nose/issues/1099
|
|
|
|
| |
It seems that flake8 now uses T201 instead of T001 for this check.
|
|
|
|
|
|
|
| |
Date such as '(17)260400' is now properly interpreted as April 30th
2026.
Closes https://github.com/arthurdejong/python-stdnum/pull/294
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/288
|
|
|
|
|
|
|
|
|
|
| |
There are some valid ranges for check digits within ISO 7064 Mod 97, 10
that all result in a valid checksum. This changes the calculated check
digits to be in the range from 02 to 98 as is specified for use in IBAN.
See https://en.wikipedia.org/wiki/International_Bank_Account_Number#Generating_IBAN_check_digits
Closes https://github.com/arthurdejong/python-stdnum/pull/289
|
|
|
|
|
|
|
| |
See https://fr.wikipedia.org/wiki/Système_d'identification_du_répertoire_des_établissements#Exceptions_pour_le_groupe_La_Poste
Closes https://github.com/arthurdejong/python-stdnum/pull/293
Closes https://github.com/arthurdejong/python-stdnum/issues/291
|
|
|
|
| |
Fixes a9039c1
|
|
|
|
|
|
| |
When using recent versions of virtualenv this ensures that older
versions of pip and setuptools will be used inside the virtualenvs that
are created by tox.
|
|
|
|
|
|
|
| |
This implements parsing of ISO 10962 CFI codes based on the published
description of the structure of these numbers.
Closes https://github.com/arthurdejong/python-stdnum/issues/283
|
|
|
|
|
| |
If a numdb data file line contains multiple values or ranges the
sub-ranges were only applied to the last value in the range.
|
| |
|
|
|
|
|
|
|
|
|
| |
The validation functions supported an optional parameter to disable
check digit validation in the number that didn't actually affect
validation and was most likely accidentally copied from the RFC module.
Fixes 50874a9
Closes https://github.com/arthurdejong/python-stdnum/issues/285
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/284
|
| |
|
|
|
|
|
| |
The Korea Fair Trade Commission website now requires solving a CAPTCHA
before submitting the request so this is no longer possible.
|
| |
|
|
|
|
|
| |
Apparently the previously whitelisted value is no longer recognised as a
valid value by the DGII service.
|
|
|
|
|
| |
The portal.nalog.gov.by web site serves an incomplete certificate chain
and the certificate chain was changed.
|
|
|
|
|
|
| |
Mostly to please GitHub.
See https://github.com/arthurdejong/python-stdnum/issues/280
|
| |
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/279
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/279
|
|
|
|
|
|
|
|
|
| |
This ensures that an Aadhaar cannot be a palindrome and checks the
serial part of the PAN to not be all zeros. It also updates some
descriptions of PAN holder types and renames the card_holder_type to
just holder_type.
Closes https://github.com/arthurdejong/python-stdnum/pull/279
|
|
|
|
|
|
|
| |
A natural RUC is the CI plus an establishment number. Both the natural
RUC and the public RUC can have a third digit with the value 6.
Closes https://github.com/arthurdejong/python-stdnum/issues/267
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/271
|
|
|
|
|
|
|
|
|
| |
- TIN Taxpayer Identification Number
- PIN Personal Identification Number
- MOA Memorandum of Association Number
Closes https://github.com/arthurdejong/python-stdnum/issues/118
Closes https://github.com/arthurdejong/python-stdnum/pull/255
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/261
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/269
|
|
|
|
|
|
| |
LGTM alert: Import pollutes the enclosing namespace
See: https://lgtm.com/rules/3980091/
Closes https://github.com/arthurdejong/python-stdnum/pull/270
|
|
|
|
|
|
| |
LGTM alert: Test is always true
See: https://lgtm.com/rules/900073/
Closes https://github.com/arthurdejong/python-stdnum/pull/270
|
|
|
|
|
|
| |
LGTM alert: Call to next() in a generator
See: https://lgtm.com/rules/11000086/
Closes https://github.com/arthurdejong/python-stdnum/pull/270
|
|
|
|
|
|
| |
Identity number)
Closes https://github.com/arthurdejong/python-stdnum/pull/265
|
| |
|
| |
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/248
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/266
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that matching numbers is done consistently when the numdb
database file has conflicting information about the length of numbers.
This also refactors the _find() function to be simpler and reduces the
number of recursive calls that have to be done.
The tests have been re-formatted to use pprint to make it easier to spot
differences if any of the tests fail (instead of just saying expected
True, got False).
Closes https://github.com/arthurdejong/python-stdnum/issues/257
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This only includes data from non-operational (status "Not operational"
according to Wikipedia) Mobile Network Code operators in the generated
data file if they would not confuse the lookup of operational numbers.
This avoid problems when the "030" to "039" non-operational ranges
conflicting with the "03" operational range. This ensures that only the
"03" value is kept. For historical completeness we keep the other
non-operational values.
Closes https://github.com/arthurdejong/python-stdnum/issues/257
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/258
|
| |
|
|
|
|
|
| |
It is increasingly difficult to test with these versions of Python and
everybody should have upgraded to a more recent version long ago.
|
| |
|
|
|
|
|
| |
The portal.nalog.gov.by web site serves an incomplete certificate chain
and the intermediate certificate was changed.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This simplifies the process of downloading Austrian postal codes by
downloading a JSON blob instead from
https://www.data.gv.at/katalog/dataset/f76ed887-00d6-450f-a158-9f8b1cbbeebf
This filters the list to only use addressable (adressierbar) postal
codes because it matches the previous list.
Thanks Bernd Schlapsi for providing the pointer.
Closes https://github.com/arthurdejong/python-stdnum/issues/235
|