I don't like suprises when upstream publishes a new mypy version.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
[testenv:mypy]
basepython = python3
-deps = mypy
+deps = mypy==0.770
commands = mypy {posargs:.}
basepython = python3
deps =
-r requirements.txt
- mypy
+ mypy==0.770
commands = mypy --config-file=../../mypy.ini \
cephadm/module.py \
mgr_module.py \
six
pytest >=2.1.3,<5; python_version < '3.5'
mock; python_version < '3.3'
-mypy; python_version >= '3'
+mypy==0.770; python_version >= '3'
pytest-mypy; python_version >= '3'
pytest >= 2.1.3; python_version >= '3'