diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2016-08-01 19:00:45 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-08-01 21:09:05 -0300 |
commit | c11478c65856a2a607ed538b6dbb9873a2b0963c (patch) | |
tree | c56b946c0ce61db025ca26c234d7bdcaa1cddd8a /testing/tox.ini | |
parent | 2ce01514d42e9fcd4bf97a9a06655ceebca5c394 (diff) |
[test] adds pep8 as a tox env
"tox -e pep8" runs it standalone and "tox" includes the pep8 env.
Diffstat (limited to 'testing/tox.ini')
-rw-r--r-- | testing/tox.ini | 9 |
1 files changed, 6 insertions, 3 deletions
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 |