Update the Django version to 2.2.27
[vfc/nfvo/driver/vnfm/svnfm.git] / zte / vmanager / tox.ini
1 [tox]
2 envlist = py36,pep8,cov
3 skipsdist = true
4  
5 [testenv]
6 deps = -r{toxinidir}/requirements.txt
7 commands = coverage run --branch manage.py test
8
9 [flake8]
10 ignore =  E501,E722
11 exclude = ./venv-tox,./.tox,./venv
12 max-complexity = 12
13
14 [testenv:pep8]
15 deps = flake8
16 commands = flake8
17
18 [testenv:py36]
19 commands =
20   {[testenv]commands}
21
22 [testenv:cov]
23 deps = coverage==4.2
24 commands = coverage xml --omit="*test*,*__init__.py,*site-packages*"