diff options
Diffstat (limited to 'src/ceph-volume/tox.ini')
-rw-r--r-- | src/ceph-volume/tox.ini | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ceph-volume/tox.ini b/src/ceph-volume/tox.ini new file mode 100644 index 00000000..dc66681d --- /dev/null +++ b/src/ceph-volume/tox.ini @@ -0,0 +1,19 @@ +[tox] +envlist = py27, py35, py36, flake8 +skip_missing_interpreters = true + +[testenv] +deps= + pytest + mock +commands=py.test -v {posargs:ceph_volume/tests} --ignore=ceph_volume/tests/functional + +[testenv:flake8] +deps=flake8 +commands=flake8 {posargs:ceph_volume} + +[tool:pytest] +norecursedirs = .* _* virtualenv + +[flake8] +select=F,E9 |