summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2016-08-01 19:00:45 -0300
committerdrebs <drebs@leap.se>2016-08-01 21:09:05 -0300
commitc11478c65856a2a607ed538b6dbb9873a2b0963c (patch)
treec56b946c0ce61db025ca26c234d7bdcaa1cddd8a /testing
parent2ce01514d42e9fcd4bf97a9a06655ceebca5c394 (diff)
[test] adds pep8 as a tox env
"tox -e pep8" runs it standalone and "tox" includes the pep8 env.
Diffstat (limited to 'testing')
-rw-r--r--testing/tox.ini9
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