diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-28 17:06:32 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-28 17:06:32 +0800 |
commit | 9640af8a512ccf5274a687cf45ac302ba3e5175b (patch) | |
tree | b57624b246fb103cd1ad23fb49aa3202d82bbef2 /tox.ini | |
parent | a10a568a9116296118e9fabf1129f563dbd3032d (diff) |
Add pep8 check for vfc-nfvo-lcm
Change-Id: I10889fead2d58f4e2f5520d8c3d11bb77d53a0c5
Issue-Id: VFC-470
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,10 +1,22 @@ [tox] -envlist = py27 +envlist = py27,pep8 skipsdist = true [tox:jenkins] downloadcache = ~/cache/pip +[flake8] +ignore = E501 +exclude = ./venv-tox,./.tox + [testenv] deps = -r{toxinidir}/requirements.txt commands = coverage run --branch manage.py test lcm + +[testenv:pep8] +deps = flake8 +commands = flake8 + +[testenv:py27] +commands = + {[testenv]commands} |