summaryrefslogtreecommitdiffstats
path: root/src/ceph-volume/tox.ini
blob: 696d6dcc837aa637b26106d0ce84827741c19d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[tox]
envlist = py3, py3-flake8
skip_missing_interpreters = true

[testenv]
deps=
  pytest
  pytest-xdist
  mock
  pyfakefs
allowlist_externals=
  ./tox_install_command.sh
install_command=./tox_install_command.sh {opts} {packages}
commands=py.test --numprocesses=auto -vv {posargs:ceph_volume/tests} --ignore=ceph_volume/tests/functional

[testenv:py3-flake8]
deps=flake8
commands=flake8 --select F,E9,W291 {posargs:ceph_volume}

[tool:pytest]
norecursedirs = .* _* virtualenv

[flake8]
select=F,E9