5.0b1
Pre-release
Pre-release
·
2374 commits
to master
since this release
Version 5.0b1 — 2019-11-11
- The HTML and textual reports now have a
--skip-empty
option that skips files with no statements, notably__init__.py
files. Thanks, Reya B. - Configuration can now be read from TOML files. This requires installing coverage.py with the
[toml]
extra. The standard “pyproject.toml” file will be read automatically if no other configuration file is found, with settings in the[tool.coverage.]
namespace. Thanks to Frazer McLean for implementation and persistence. Finishes issue 664. - The
[run] note
setting has been deprecated. Using it will result in a warning, and the note will not be written to the data file. The corresponding CoverageData methods have been removed. - The HTML report has been reimplemented (no more table around the source code). This allowed for a better presentation of the context information, hopefully resolving issue 855.
- Added sqlite3 module version information to
coverage debug sys
output. - Asking the HTML report to show contexts (
[html] show_contexts=True
orcoverage html --show-contexts
) will issue a warning if there were no contexts measured (issue 851).
➡️ PyPI page: coverage 5.0b1.
➡️ To install: python3 -m pip install coverage==5.0b1