[tox] envlist = py35,py27,pep8 skipsdist = True [testenv] deps = -rrequirements.txt -rtest-requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}' [testenv:venv] commands = {posargs} [testenv:pep8] commands = flake8 [flake8] ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405 exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build