]>
Commit | Line | Data |
---|---|---|
7c673cae | 1 | [tox] |
e306af50 | 2 | envlist = flake8-py2, flake8-py3, mypy, pytest |
7c673cae FG |
3 | skipsdist = True |
4 | ||
9f95a23c TL |
5 | [testenv:flake8-py2] |
6 | basepython = python2 | |
7c673cae FG |
7 | deps= |
8 | flake8 | |
9 | commands=flake8 --select=F,E9 --exclude=venv,.tox | |
9f95a23c TL |
10 | |
11 | [testenv:flake8-py3] | |
12 | basepython = python3 | |
13 | deps= | |
14 | flake8 | |
15 | commands=flake8 --select=F,E9 --exclude=venv,.tox | |
16 | ||
17 | [testenv:mypy] | |
18 | basepython = python3 | |
19 | deps = mypy==0.770 | |
20 | commands = mypy {posargs:.} | |
e306af50 TL |
21 | |
22 | [testenv:pytest] | |
23 | basepython = python2 | |
24 | deps = | |
25 | {env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@py2}#egg=teuthology[test] | |
26 | httplib2 | |
27 | mock | |
28 | commands = pytest -vv tasks/tests |