summaryrefslogtreecommitdiff
path: root/doc/config.rst
diff options
context:
space:
mode:
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 b0e5bf84..bcb24412 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]
------