diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2010-08-24 11:18:35 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-08-24 11:18:35 -0400 |
| commit | 9726ca6bbdc7d1ed5b0f732071210eed4ceada34 (patch) | |
| tree | 9bb3969d6654499547cd823d44c3e39a78d57563 /doc | |
| parent | 07d2d57585186c8a6d88dd624a7348a58397f98d (diff) | |
| download | python-coveragepy-git-9726ca6bbdc7d1ed5b0f732071210eed4ceada34.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')
| -rw-r--r-- | doc/config.rst | 5 |
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] ------ |
