Merge "Check requirements against OpenStack requirements"
[yardstick.git] / tox.ini
1 [tox]
2 minversion = 2.0
3 skipsdist = True
4 envlist = py27,py3
5
6 [testenv]
7 usedevelop=True
8 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
9 deps =
10     -r{toxinidir}/requirements.txt
11     -r{toxinidir}/test-requirements.txt
12 commands = /bin/bash ./run_tests.sh
13 whitelist_externals = /bin/bash
14
15
16 [testenv:py27]
17 # don't re-run coverage on both py27 py3, it takes too long
18 setenv =
19     SKIP_COVERAGE=1
20
21 [flake8]
22 # E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126
23 # The rest of the ignores are TODOs
24 # New from hacking 0.9: E129, E131, H407, H405
25 # E251 Skipped due to https://github.com/jcrocholl/pep8/issues/301
26
27 # nova flake8 ignores
28 #ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405
29 # dovetail flake8 ignores
30 ignore = E123,E125,H803
31 max-line-length = 99
32 exclude =  .venv,.git,.tox,dist,docs,*egg,build
33
34 [testenv:os-requirements]
35 commands =
36     python {toxinidir}/tools/os-requirements-check.py {envdir}