[tox] envlist = pep8,py3 skipsdist = True [testenv] setenv = VIRTUAL_ENV={envdir} PYTHONHASHSEED=0 install_command = pip install {opts} {packages} commands = nosetests {posargs} {toxinidir}/unit_tests [testenv:py3] basepython = python3 deps = -r{toxinidir}/test-requirements.txt [testenv:pep8] basepython = python3 deps = -r{toxinidir}/test-requirements.txt commands = flake8 {posargs} zaza unit_tests [testenv:venv] commands = {posargs} [flake8] ignore = E402,E226