diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2011-06-04 21:26:33 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2011-06-04 21:26:33 -0400 |
| commit | 140c97e2a727243025d49f1da18eae979c6c2929 (patch) | |
| tree | bc5d40c3fcc592b54ddb7dacc8aec2724d02527d /doc/config.rst | |
| parent | 15addf22adbfd1070fbb88799a3f90b4e1da61d9 (diff) | |
| download | python-coveragepy-git-140c97e2a727243025d49f1da18eae979c6c2929.tar.gz | |
Update the docs for 3.5 changes.
Diffstat (limited to 'doc/config.rst')
| -rw-r--r-- | doc/config.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/config.rst b/doc/config.rst index 15d38745..ddaf22a3 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -7,6 +7,7 @@ Configuration files :history: 20100223T201600, new for 3.3 :history: 20100725T211700, updated for 3.4. :history: 20100824T092900, added ``precision``. +:history: 20110604T184400, updated for 3.5. Coverage.py options can be specified in a configuration file. This makes it @@ -122,6 +123,12 @@ 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. +``partial_branches`` (multi-string): a list of regular expressions. Any line +of code that matches one of these regexes is excused from being reported as +a partial branch. More details are in :ref:`branch`. If you use this option, +you are replacing all the partial branch regexes so you'll need to also +supply the "pragma: no branch" regex if you still want to use it. + ``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%". |
