diff options
-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 |