From c11478c65856a2a607ed538b6dbb9873a2b0963c Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 1 Aug 2016 19:00:45 -0300 Subject: [test] adds pep8 as a tox env "tox -e pep8" runs it standalone and "tox" includes the pep8 env. --- testing/tox.ini | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'testing/tox.ini') diff --git a/testing/tox.ini b/testing/tox.ini index c3126cf2..246f63fa 100644 --- a/testing/tox.ini +++ b/testing/tox.ini @@ -1,13 +1,11 @@ [tox] -envlist = py27 +envlist = py27,pep8 [testenv] commands = py.test {posargs} changedir = tests deps = pytest - pytest-flake8 - pytest-pep8 pytest-twisted mock testscenarios @@ -24,3 +22,8 @@ setenv = HOME=/tmp TERM=xterm install_command = pip install {opts} {packages} + +[testenv:pep8] +changedir = .. +deps = pep8 +commands = pep8 {posargs} client server common -- cgit v1.2.3