Add tox mypy target.
@@ -21,6 +21,7 @@ basepython =
py3.5: python3.5
py3.6: python3.6
py3.7: python3.7
+ mypy: python3.7
whitelist_externals = cp
bash
scripts/*.sh
@@ -122,3 +123,11 @@ set-env =
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
coverage run --source=libcloud setup.py test
codecov
+
+[testenv:mypy]
+deps =
+ setuptools==41.0.1
+ typing
+ mypy
+commands =
+ mypy --no-incremental libcloud/compute/base/
