arthurdejong / python-stdnum

A Python library to provide functions to handle, parse and validate standard numbers.
https://arthurdejong.org/python-stdnum/
GNU Lesser General Public License v2.1
484 stars 203 forks source link

Adjusted ch uid module to also validate stripped numbers without CHE prefix. #437

Closed jeffh92 closed 1 week ago

jeffh92 commented 1 month ago

Relates to https://github.com/arthurdejong/python-stdnum/issues/423

arthurdejong commented 1 week ago

Thanks. I've merged it as 1da003f but moved the addition of the CHE prefix to the compact() function so that compact() and validate() now agree on the format.