Change-Id: Ifeddbff7c8b608404732d7c5771d6eee7a50b5f3
Issue-ID: VFC-479
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
[tox]
-envlist = py27
+envlist = py27,pep8
skipsdist = true
[testenv]
deps = -r{toxinidir}/requirements.txt
commands = coverage run --branch manage.py test
+
+[flake8]
+ignore = E501,E121,W191,E101,W293,E302,E231,E201,E202,F841,E225,E241,E126
+max-complexity = 12
+
+[testenv:pep8]
+deps = flake8
+commands = flake8
+
+[testenv:py27]
+commands =
+ {[testenv]commands}
\ No newline at end of file