aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.coveragerc1
-rw-r--r--tox.ini3
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/*
diff --git a/tox.ini b/tox.ini
index b1833da..e15e2ae 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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