summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-01-21 12:32:03 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-01-21 12:32:03 -0500
commite756776c0a9f3c78389bcc93e067ac3ac0f45ad9 (patch)
tree6175b059058e9c1db47bdb3e4ac9f3488bef6877 /CHANGES.rst
parentf6e05b8c9b69ad1b8b847d8e9078d0c99480dac7 (diff)
downloadpython-coveragepy-git-e756776c0a9f3c78389bcc93e067ac3ac0f45ad9.tar.gz
fail_under can now be a float. #631.
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index c4ec5bf4..8ccc8008 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -13,6 +13,11 @@ Unreleased
See :ref:`api_plugin` for details. This solves the complex configuration
problem described in `issue 563`_.
+- The ``fail_under`` option can now be a float. Note that you must specify the
+ ``[report] precision`` configuration option for the fractional part to be
+ used. Thanks to Lars Hupfeldt Nielsen for help with the implementation.
+ Fixes `issue 631`_.
+
- The ``include`` and ``omit`` options can be specified for both the ``[run]``
and ``[report]`` phases of execution. 4.4.2 introduced some incorrect
interations between those phases, where the options for one were confused for
@@ -28,6 +33,7 @@ Unreleased
.. _issue 621: https://bitbucket.org/ned/coveragepy/issues/621/include-ignored-warning-when-using
.. _issue 622: https://bitbucket.org/ned/coveragepy/issues/622/report-omit-overwrites-run-omit
.. _issue 627: https://bitbucket.org/ned/coveragepy/issues/627/failure-generating-html-reports-when-the
+.. _issue 631: https://bitbucket.org/ned/coveragepy/issues/631/precise-coverage-percentage-value
.. _changes_442: