5.2
Version 5.2 — 2020-07-05
- The HTML report has been redesigned by Vince Salvino. There is now a dark mode, the code text is larger, and system sans serif fonts are used, in addition to other small changes (issue 858 and pull request 931).
- The
coverage report
andcoverage html
commands now accept a--precision
option to control the number of decimal points displayed. Thanks, Teake Nutma (pull request 982). - The
coverage report
andcoverage html
commands now accept a--no-skip-covered
option to negate--skip-covered
. Thanks, Anthony Sottile (issue 779 and pull request 932). - The
--skip-empty
option is now available for the XML report, closing issue 976. - The
coverage report
command now accepts a--sort
option to specify how to sort the results. Thanks, Jerin Peter George (pull request 1005). - If coverage fails due to the coverage total not reaching the
--fail-under
value, it will now print a message making the condition clear. Thanks, Naveen Yadav (pull request 977). - TOML configuration files with non-ASCII characters would cause errors on Windows (issue 990). This is now fixed.
- The output of
--debug=trace
now includes information about how the--source
option is being interpreted, and the module names being considered.
➡️ PyPI page: coverage 5.2.
➡️ To install: python3 -m pip install coverage==5.2