lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.18-4-gdf894c3

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum branch master updated. 1.18-4-gdf894c3



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".

The branch, master has been updated
       via  df894c37e9b28d639df5287eb98c6a01b47104d2 (commit)
      from  4f8155c6080bef3e48488815ae23e84cbc71da6f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=df894c37e9b28d639df5287eb98c6a01b47104d2

commit df894c37e9b28d639df5287eb98c6a01b47104d2
Author: Dimitri Papadopoulos 
<3234522+DimitriPapadopoulos@users.noreply.github.com>
Date:   Mon Dec 5 08:02:46 2022 +0100

    Fix typos found by codespell
    
    Closes https://github.com/arthurdejong/python-stdnum/pull/344

diff --git a/stdnum/ch/uid.py b/stdnum/ch/uid.py
index 28a8a0e..2131a12 100644
--- a/stdnum/ch/uid.py
+++ b/stdnum/ch/uid.py
@@ -141,7 +141,7 @@ def check_uid(number, timeout=30):  # pragma: no cover
     client = get_soap_client(uid_wsdl, timeout)
     try:
         return client.GetByUID(uid={'uidOrganisationIdCategorie': number[:3], 
'uidOrganisationId': number[3:]})[0]
-    except Exception:  # noqa: B902 (excpetion type depends on SOAP client)
+    except Exception:  # noqa: B902 (exception type depends on SOAP client)
         # Error responses by the server seem to result in exceptions raised
         # by the SOAP client implementation
         return
diff --git a/stdnum/gh/tin.py b/stdnum/gh/tin.py
index 7fad4c1..2b0130c 100644
--- a/stdnum/gh/tin.py
+++ b/stdnum/gh/tin.py
@@ -24,7 +24,7 @@
 This number is issued by the Ghana Revenue Authority (GRA) to individuals who
 are not eligible for the Ghanacard PIN and other entities.
 
-This number consists of 11 alpha-numeric characters. It begins with one of the
+This number consists of 11 alphanumeric characters. It begins with one of the
 following prefixes:
 
     P00 For Individuals.

-----------------------------------------------------------------------

Summary of changes:
 stdnum/ch/uid.py | 2 +-
 stdnum/gh/tin.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
python-stdnum