From 73db0c011b0d3249fca4a8f9d98c4fc96d1beaa4 Mon Sep 17 00:00:00 2001 From: "ying.yunlong" Date: Sat, 23 Sep 2017 11:04:20 +0800 Subject: [PATCH] Add vfc-gvnfm-vnfmgr tox pep8 check Change-Id: Ia6dfc894c1681d42f58e5f59c6672ced99362f08 Issue-ID: VFC-440 Signed-off-by: ying.yunlong --- mgr/tox.ini | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mgr/tox.ini b/mgr/tox.ini index 8301a37..de86105 100644 --- a/mgr/tox.ini +++ b/mgr/tox.ini @@ -1,10 +1,21 @@ [tox] -envlist = py27 +envlist = py27,pep8 skipsdist = true [tox:jenkins] downloadcache = ~/cache/pip +[flake8] +ignore = E501,E302,W293,E128,W291,F401 + [testenv] deps = -r{toxinidir}/requirements.txt commands = coverage run --branch manage.py test mgr + +[testenv:pep8] +deps = flake8 +commands = flake8 + +[testenv:py27] +commands = + {[testenv]commands} \ No newline at end of file -- 2.16.6