libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [libcloud] 02/02: Upgrade mypy dependency, add mypy ignore pragma.
Date Sun, 04 Oct 2020 18:58:24 GMT
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 4e584a111812bd84b55531bb645552860334298b
Author: Tomaz Muraus <tomaz@tomaz.me>
AuthorDate: Sun Oct 4 20:57:30 2020 +0200

    Upgrade mypy dependency, add mypy ignore pragma.
---
 libcloud/common/google.py | 2 +-
 tox.ini                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libcloud/common/google.py b/libcloud/common/google.py
index 4945a61..9b4e380 100644
--- a/libcloud/common/google.py
+++ b/libcloud/common/google.py
@@ -96,7 +96,7 @@ try:
     from cryptography.hazmat.primitives.asymmetric.padding import PKCS1v15
 except ImportError:
     # The cryptography library is unavailable
-    SHA256 = None
+    SHA256 = None  # type: ignore
 
 UTC_TIMESTAMP_FORMAT = '%Y-%m-%dT%H:%M:%SZ'
 
diff --git a/tox.ini b/tox.ini
index 162f22b..02dc37c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -232,7 +232,7 @@ commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
 deps =
     setuptools==42.0.2
     typing
-    mypy==0.740
+    mypy==0.782
 commands =
     mypy --no-incremental libcloud/common/
     mypy --no-incremental libcloud/compute/


Mime
View raw message