ceph/qa/tox.ini
Sebastian Wagner 8b55bb6556 src,qa: Upgrade to mypy 0.790
dashboard/tools: Make sure {begin,end}_time are set.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-12-09 09:18:16 +01:00

26 lines
646 B
INI

[tox]
envlist = flake8, mypy, pytest
skipsdist = True
[testenv:flake8]
basepython = python3
deps=
flake8
commands=flake8 --select=F,E9 --exclude=venv,.tox
[testenv:mypy]
basepython = python3
deps = mypy==0.790
commands = mypy {posargs:.}
[testenv:import-tasks]
basepython = python3
deps = {env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@master}#egg=teuthology[coverage,orchestra,test]
commands = python test_import.py {posargs:tasks/**/*.py}
[testenv:pytest]
basepython = python3
deps =
{env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@master}#egg=teuthology[test]
httplib2
commands = pytest -vv tasks/tests