6.4
Version 6.4 — 2022-05-22
- A new setting, [run] sigterm, controls whether a SIGTERM signal handler is used. In 6.3, the signal handler was always installed, to capture data at unusual process ends. Unfortunately, this introduced other problems (see issue 1310). Now the signal handler is only used if you opt-in by setting
[run] sigterm = true
. - Small changes to the HTML report:
- Added links to next and previous file, and more keyboard shortcuts:
[
and]
for next file and previous file;u
for up to the index; and?
to open/close the help panel. Thanks, J. M. F. Tsang. - The time stamp and version are displayed at the top of the report. Thanks, Ammar Askar. Closes issue 1351.
- Added links to next and previous file, and more keyboard shortcuts:
- A new debug option
debug=sqldata
adds more detail todebug=sql
, logging all the data being written to the database. - Previously, running
coverage report
(or any of the reporting commands) in an empty directory would create a .coverage data file. Now they do not, fixing issue 1328. - On Python 3.11, the
[toml]
extra no longer installs tomli, instead using tomllib from the standard library. Thanks Shantanu. - In-memory CoverageData objects now properly update(), closing issue 1323.
➡️ PyPI page: coverage 6.4.
➡️ To install: python3 -m pip install coverage==6.4