From e5350b9d9939905d5fafef4da8c2411694687d2d Mon Sep 17 00:00:00 2001 From: "ying.yunlong" Date: Sat, 30 Sep 2017 10:08:24 +0800 Subject: [PATCH] Add vfc-svnfm-driver tox pep8 check Change-Id: Ib4a27a2f96949c985b9b6654f9fcbd304f77e62f Issue-ID: VFC-484 Signed-off-by: ying.yunlong --- zte/vmanager/tox.ini | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/zte/vmanager/tox.ini b/zte/vmanager/tox.ini index 4e62baf4..46bc1dc9 100644 --- a/zte/vmanager/tox.ini +++ b/zte/vmanager/tox.ini @@ -1,7 +1,18 @@ [tox] -envlist = py27 +envlist = py27,pep8 skipsdist = true [testenv] deps = -r{toxinidir}/requirements.txt commands = coverage run --branch manage.py test + +[flake8] +ignore = E501,W291,E121,F401,W391,E302,E265,E231,F841,E127,E128,E122,E126,E303 + +[testenv:pep8] +deps = flake8 +commands = flake8 + +[testenv:py27] +commands = + {[testenv]commands} \ No newline at end of file -- 2.16.6