summaryrefslogtreecommitdiff
path: root/doc/config.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-08-24 11:18:35 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-08-24 11:18:35 -0400
commit7c14b919bae2ea0e4c72e5bb4116626f3a9b6230 (patch)
treec11ab64e9fca88296401a8dd79bc6846a6c98035 /doc/config.rst
parent2918f8f40127a887514979e96e7c3e91911a67fa (diff)
downloadpython-coveragepy-7c14b919bae2ea0e4c72e5bb4116626f3a9b6230.tar.gz
New config setting: [report]precision lets you specify the number of digits after the decimal point in coverage percentages. Finishes issue #16.
Diffstat (limited to 'doc/config.rst')
-rw-r--r--doc/config.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/config.rst b/doc/config.rst
index b0e5bf8..bcb2441 100644
--- a/doc/config.rst
+++ b/doc/config.rst
@@ -6,6 +6,7 @@ Configuration files
:history: 20100223T201600, new for 3.3
:history: 20100725T211700, updated for 3.4.
+:history: 20100824T092900, added ``precision``.
Coverage.py options can be specified in a configuration file. This makes it
@@ -116,6 +117,10 @@ in reporting. See :ref:`source` for details.
``omit`` (multi-string): a list of filename patterns, the files to leave out
of reporting. See :ref:`source` for details.
+``precision`` (integer): the number of digits after the decimal point to
+display for reported coverage percentages. The default is 0, displaying
+for example "87%". A value of 2 will display percentages like "87.32%".
+
[html]
------