[Python-checkins] devguide: Ignore the Tools directory when generating coverage reports.

brett.cannon python-checkins at python.org
Fri Aug 31 21:42:26 CEST 2012


http://hg.python.org/devguide/rev/dba748ac63b4
changeset:   541:dba748ac63b4
user:        Brett Cannon <brett at python.org>
date:        Fri Aug 31 15:42:20 2012 -0400
summary:
  Ignore the Tools directory when generating coverage reports.

files:
  coverage.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/coverage.rst b/coverage.rst
--- a/coverage.rst
+++ b/coverage.rst
@@ -128,7 +128,7 @@
 But one of the strengths of coverage.py is its HTML-based reports which let
 you visually see what lines of code were not tested::
 
-    ./python -m coverage html -i --omit="*/test/*,*/tests/*"
+    ./python -m coverage html -i --omit="*/test/*,*/tests/*,*/Tools/*"
 
 This will generate an HTML report in a directory named ``htmlcov`` which
 ignores any errors that may arise and

-- 
Repository URL: http://hg.python.org/devguide


More information about the Python-checkins mailing list