lists.arthurdejong.org
RSS feed

python-pskc branch master updated. 1.4-1-g384501b

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

python-pskc branch master updated. 1.4-1-g384501b



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-pskc".

The branch, master has been updated
       via  384501bba1ed7d2b3a224e011188043dd7e5374d (commit)
      from  256ffd8281d8e842b01e2f736b41524479b1872a (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-pskc/commit/?id=384501bba1ed7d2b3a224e011188043dd7e5374d

commit 384501bba1ed7d2b3a224e011188043dd7e5374d
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Mon Apr 6 14:06:44 2026 +0200

    Drop unused type ignore comment

diff --git a/pskc/scripts/csv2pskc.py b/pskc/scripts/csv2pskc.py
index 370bfbc..d27f93e 100644
--- a/pskc/scripts/csv2pskc.py
+++ b/pskc/scripts/csv2pskc.py
@@ -87,7 +87,7 @@ def from_column(key: str, value: str, secret_encoding: str) 
-> bytes | str | dat
     """Convert a key value read from a CSV file in a format for PSKC."""
     # decode encoded secret
     if key == 'secret':
-        return encodings[secret_encoding](value)  # type: 
ignore[no-any-return,operator]
+        return encodings[secret_encoding](value)
     # convert dates to timestamps
     if key.endswith('_date'):
         return dateutil.parser.parse(value)

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

Summary of changes:
 pskc/scripts/csv2pskc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
python-pskc