From 887fd917a19654aa6a7c6c54be3f22c3b6c79b92 Mon Sep 17 00:00:00 2001 From: drebs Date: Sat, 24 Sep 2016 15:57:54 -0300 Subject: [test] add flake8 code check and generalize name of tox env --- testing/tox.ini | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'testing') 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 = -- cgit v1.2.3