diff options
-rw-r--r-- | res/tox.ini | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/res/tox.ini b/res/tox.ini index 95b9a24..42f8d9f 100644 --- a/res/tox.ini +++ b/res/tox.ini @@ -7,6 +7,7 @@ downloadcache = ~/cache/pip [flake8] ignore = E501,E226,E126,W293,E502,E225,E302 +max-complexity = 12 [testenv] deps = -r{toxinidir}/requirements.txt @@ -18,4 +19,7 @@ commands = flake8 [testenv:py27] commands = - {[testenv]commands}
\ No newline at end of file + {[testenv]commands} + +[testenv:cov] +commands = coverage html --omit="*test_*,*__init__.py,*site-packages*" -d htmlcov
\ No newline at end of file |