From 3fb0c453781e17a04fd63ac2c953826a8c96f27a Mon Sep 17 00:00:00 2001 From: Abderrahim Kitouni Date: Tue, 22 Mar 2022 06:35:15 +0100 Subject: [PATCH] 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 09624733f..8c1e704c5 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