You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2020/10/04 18:58:22 UTC

[libcloud] branch trunk updated (41874c9 -> 4e584a1)

This is an automated email from the ASF dual-hosted git repository.

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


    from 41874c9  Add changelog entry.
     new dd1de5f  Set mypy target version to Python 3.5.
     new 4e584a1  Upgrade mypy dependency, add mypy ignore pragma.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 libcloud/common/google.py | 2 +-
 mypy.ini                  | 2 +-
 tox.ini                   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


[libcloud] 02/02: Upgrade mypy dependency, add mypy ignore pragma.

Posted by to...@apache.org.
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 <to...@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/


[libcloud] 01/02: Set mypy target version to Python 3.5.

Posted by to...@apache.org.
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 dd1de5fd36787168005b360bf90ee5db86131c39
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Oct 4 20:56:00 2020 +0200

    Set mypy target version to Python 3.5.
---
 mypy.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mypy.ini b/mypy.ini
index e758e9a..73ea371 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -1,5 +1,5 @@
 [mypy]
-python_version = 3.4
+python_version = 3.5
 platform = linux
 show_error_context = True
 show_column_numbers = True