Fix vfc-gvnfm-vnfmgr pep8 W291 issue
[vfc/gvnfm/vnfmgr.git] / mgr / tox.ini
1 [tox]
2 envlist = py27,pep8,cov
3 skipsdist = true
4
5 [tox:jenkins]
6 downloadcache = ~/cache/pip
7
8 [flake8]
9 ignore =  E501,W293,E128
10
11 [testenv]
12 deps = -r{toxinidir}/requirements.txt
13 commands = coverage run --branch manage.py test mgr
14
15 [testenv:pep8]
16 deps = flake8
17 commands = flake8
18
19 [testenv:py27]
20 commands =
21   {[testenv]commands}
22
23 [testenv:cov]
24 commands = coverage html --omit="*test_*,*__init__.py,*site-packages*" -d htmlcov