[tox] minversion = 1.6 skipsdist = True envlist = py26,py27,py33,pep8 [testenv] deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt install_command = pip install -U {opts} {packages} usedevelop = True commands = bash -x {toxinidir}/run_tests.sh {posargs} [testenv:venv] deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = {posargs} [testenv:pep8] # Install bounded pep8/pyflakes first, then let flake8 install deps = pep8==1.4.5 pyflakes==0.7.2 flake8==2.0 hacking>=0.8.0,<0.9 commands = flake8 [flake8] exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build show-source = True