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 reportandcoverage htmlcommands now accept a--precisionoption to control the number of decimal points displayed. Thanks, Teake Nutma (pull request 982). - The
coverage reportandcoverage htmlcommands now accept a--no-skip-coveredoption to negate--skip-covered. Thanks, Anthony Sottile (issue 779 and pull request 932). - The
--skip-emptyoption is now available for the XML report, closing issue 976. - The
coverage reportcommand now accepts a--sortoption 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-undervalue, 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=tracenow includes information about how the--sourceoption is being interpreted, and the module names being considered.
➡️ PyPI page: coverage 5.2.
➡️ To install: python3 -m pip install coverage==5.2