python-stdnum branch master updated. 2.1-3-g5ef6ade
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
python-stdnum branch master updated. 2.1-3-g5ef6ade
- From: Commits of the python-stdnum project <python-stdnum-commits [at] lists.arthurdejong.org>
- To: python-stdnum-commits [at] lists.arthurdejong.org
- Reply-to: python-stdnum-users [at] lists.arthurdejong.org, python-stdnum-commits [at] lists.arthurdejong.org
- Subject: python-stdnum branch master updated. 2.1-3-g5ef6ade
- Date: Sun, 1 Jun 2025 12:12:10 +0200 (CEST)
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 5ef6adee1c9afe7119e28a75ab8f914009b13259 (commit)
from 0e64cf65e6bfac0da0f9c221ffab0ae24353dfc0 (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=5ef6adee1c9afe7119e28a75ab8f914009b13259
commit 5ef6adee1c9afe7119e28a75ab8f914009b13259
Author: Arthur de Jong <arthur@arthurdejong.org>
Date: Sun Jun 1 11:57:05 2025 +0200
Use broader type ignore for pkg_resources import
Apparently mypy changed for classifying the problem from import-untyped
to import-not-found.
diff --git a/stdnum/numdb.py b/stdnum/numdb.py
index 489249f..649f9bc 100644
--- a/stdnum/numdb.py
+++ b/stdnum/numdb.py
@@ -178,7 +178,7 @@ def _get_resource_stream(name: str) -> IO[bytes]:
import importlib.resources
return importlib.resources.files(__package__).joinpath(name).open('rb')
except (ImportError, AttributeError): # pragma: no cover (older Python
versions)
- import pkg_resources # type: ignore[import-untyped]
+ import pkg_resources # type: ignore
return pkg_resources.resource_stream(__name__, name) # type:
ignore[no-any-return]
-----------------------------------------------------------------------
Summary of changes:
stdnum/numdb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
python-stdnum
- python-stdnum branch master updated. 2.1-3-g5ef6ade,
Commits of the python-stdnum project