summaryrefslogtreecommitdiff
path: root/testing/tox.ini
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-09-24 15:57:54 -0300
committerdrebs <drebs@leap.se>2016-09-30 09:08:47 -0300
commit887fd917a19654aa6a7c6c54be3f22c3b6c79b92 (patch)
tree26f6007adf3f4dc91d238284334b336670bb89a5 /testing/tox.ini
parentd5bbe37495ee733be5f78de72364f3ec48ed7a0d (diff)
[test] add flake8 code check and generalize name of tox env
Diffstat (limited to 'testing/tox.ini')
-rw-r--r--testing/tox.ini10
1 files changed, 7 insertions, 3 deletions
diff --git a/testing/tox.ini b/testing/tox.ini
index 231b2a9a..820d958c 100644
--- a/testing/tox.ini
+++ b/testing/tox.ini
@@ -33,10 +33,14 @@ deps =
basepython = python2.7
commands = py.test tests/perf {posargs}
-[testenv:pep8]
+[testenv:code-check]
changedir = ..
-deps = pep8
-commands = pep8 {posargs} client server common
+deps =
+ pep8
+ flake8
+commands =
+ pep8 client server common
+ flake8 --ignore=F812,E731 client server common
[testenv:parallel]
deps =