You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ak...@apache.org on 2022/03/22 05:35:33 UTC

[buildstream] branch abderrahim/mypy created (now 3fb0c45)

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

akitouni pushed a change to branch abderrahim/mypy
in repository https://gitbox.apache.org/repos/asf/buildstream.git.


      at 3fb0c45  tox.ini: add --namespace-packages to mypy

This branch includes the following new commits:

     new 3fb0c45  tox.ini: add --namespace-packages to mypy

The 1 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.


[buildstream] 01/01: tox.ini: add --namespace-packages to mypy

Posted by ak...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

akitouni pushed a commit to branch abderrahim/mypy
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 3fb0c453781e17a04fd63ac2c953826a8c96f27a
Author: Abderrahim Kitouni <ak...@gnome.org>
AuthorDate: Tue Mar 22 06:35:15 2022 +0100

    tox.ini: add --namespace-packages to mypy
    
    It is needed by latest version of types-protobuf
    
    Also update mypy to the latest version
---
 tox.ini | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tox.ini b/tox.ini
index 0962473..8c1e704 100644
--- a/tox.ini
+++ b/tox.ini
@@ -157,9 +157,9 @@ deps =
 [testenv:mypy]
 skip_install = True
 commands =
-    mypy {posargs}
+    mypy --namespace-packages {posargs}
 deps =
-    mypy==0.910
+    mypy==0.940
     types-protobuf
     types-python-dateutil
     types-setuptools