[tox]
-envlist = py27,pep8
+envlist = py36,pep8,cov
skipsdist = true
[tox:jenkins]
downloadcache = ~/cache/pip
[flake8]
-ignore = E501,E302,W293,E128,W291,F401
+ignore = E501
+exclude = ./venv-tox,./.tox,./venv
+max-complexity = 12
[testenv]
deps = -r{toxinidir}/requirements.txt
deps = flake8
commands = flake8
-[testenv:py27]
+[testenv:py36]
commands =
- {[testenv]commands}
\ No newline at end of file
+ {[testenv]commands}
+
+[testenv:cov]
+deps = coverage==4.2
+commands = coverage xml --omit="*test*,*__init__.py,*site-packages*"
\ No newline at end of file