diff options
author | Waylan Limberg <waylan@gmail.com> | 2014-07-11 19:38:34 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2014-07-11 19:38:34 -0400 |
commit | 498776588990bbf151248584e6c23ca1935bed98 (patch) | |
tree | 75f96bf0f81b9f10e425d021765ba2829670e13a | |
parent | 4cc7453f243819ce04bfca4645fa629e4367af78 (diff) | |
download | markdown-498776588990bbf151248584e6c23ca1935bed98.tar.gz markdown-498776588990bbf151248584e6c23ca1935bed98.tar.bz2 markdown-498776588990bbf151248584e6c23ca1935bed98.zip |
Better coverage config. Now at 88% coverage.
-rw-r--r-- | .coveragerc | 1 | ||||
-rw-r--r-- | tox.ini | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.coveragerc b/.coveragerc index 11e6453..e84731a 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,6 @@ [run] omit= markdown/__version__.py + markdown/__main__.py *site-packages* tests/* @@ -6,4 +6,5 @@ downloadcache = {toxworkdir}/cache deps = nose coverage git+https://github.com/waylan/pytidylib.git#egg=PyTidyLib -commands = {envpython} {toxinidir}/run-tests.py --with-coverage --cover-package=markdown {posargs} +commands = coverage run --source=markdown {toxinidir}/run-tests.py {posargs} + coverage report --show-missing |