Monty Taylor | da3bada | 2012-11-22 09:38:22 -0800 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = py26,py27,pep8 |
| 3 | |
| 4 | [testenv] |
| 5 | setenv = VIRTUAL_ENV={envdir} |
| 6 | deps = -r{toxinidir}/tools/pip-requires |
| 7 | -r{toxinidir}/tools/test-requires |
| 8 | commands = nosetests {posargs} |
| 9 | |
| 10 | [testenv:pep8] |
| 11 | deps = pep8==1.3.3 |
| 12 | commands = |
| 13 | pep8 --exclude=.venv,.tox,dist,doc,openstack,*lib/python*,*egg \ |
| 14 | --repeat --show-source . |
| 15 | |
| 16 | [testenv:cover] |
| 17 | setenv = NOSE_WITH_COVERAGE=1 |
| 18 | |
| 19 | [testenv:pyflakes] |
| 20 | deps = pyflakes |
Monty Taylor | 674a648 | 2012-11-28 09:39:39 -0800 | [diff] [blame] | 21 | commands = pyflakes jeepyb/cmd |
Monty Taylor | da3bada | 2012-11-22 09:38:22 -0800 | [diff] [blame] | 22 | |
| 23 | [testenv:venv] |
| 24 | commands = {posargs} |