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