Jay Pipes | a6aa5f2 | 2012-07-24 19:40:29 -0400 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = pep8 |
| 3 | |
| 4 | [testenv] |
| 5 | setenv = VIRTUAL_ENV={envdir} |
| 6 | NOSE_WITH_OPENSTACK=1 |
| 7 | NOSE_OPENSTACK_COLOR=1 |
| 8 | NOSE_OPENSTACK_RED=15 |
| 9 | NOSE_OPENSTACK_YELLOW=3 |
| 10 | NOSE_OPENSTACK_SHOW_ELAPSED=1 |
| 11 | NOSE_OPENSTACK_STDOUT=1 |
| 12 | deps = -r{toxinidir}/tools/pip-requires |
| 13 | -r{toxinidir}/tools/test-requires |
| 14 | commands = nosetests {posargs} |
| 15 | |
Matthew Treinish | d15705b | 2012-10-16 14:04:48 -0400 | [diff] [blame] | 16 | [testenv:coverage] |
Matthew Treinish | abfa149 | 2013-01-11 14:28:29 -0500 | [diff] [blame] | 17 | commands = python -m tools/tempest_coverage -c start --combine |
Matthew Treinish | d15705b | 2012-10-16 14:04:48 -0400 | [diff] [blame] | 18 | nosetests {posargs} |
Matthew Treinish | abfa149 | 2013-01-11 14:28:29 -0500 | [diff] [blame] | 19 | python -m tools/tempest_coverage -c report --html |
Matthew Treinish | d15705b | 2012-10-16 14:04:48 -0400 | [diff] [blame] | 20 | |
Jay Pipes | a6aa5f2 | 2012-07-24 19:40:29 -0400 | [diff] [blame] | 21 | [testenv:pep8] |
Monty Taylor | b2ca5ca | 2013-04-28 18:00:21 -0700 | [diff] [blame^] | 22 | commands = flake8 |
| 23 | |
| 24 | [flake8] |
| 25 | ignore = E125,H302,H404 |
| 26 | show-source = True |
| 27 | exclude = .git,.venv,.tox,dist,doc,openstack,*egg |