mirror of
https://github.com/ceph/ceph
synced 2024-12-19 18:02:46 +00:00
e34b60869d
I don't like suprises when upstream publishes a new mypy version. Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
21 lines
362 B
INI
21 lines
362 B
INI
[tox]
|
|
envlist = flake8-py2, flake8-py3, mypy
|
|
skipsdist = True
|
|
|
|
[testenv:flake8-py2]
|
|
basepython = python2
|
|
deps=
|
|
flake8
|
|
commands=flake8 --select=F,E9 --exclude=venv,.tox
|
|
|
|
[testenv:flake8-py3]
|
|
basepython = python3
|
|
deps=
|
|
flake8
|
|
commands=flake8 --select=F,E9 --exclude=venv,.tox
|
|
|
|
[testenv:mypy]
|
|
basepython = python3
|
|
deps = mypy==0.770
|
|
commands = mypy {posargs:.}
|