github nedbat/coveragepy 6.4

latest releases: 7.5.0, 7.4.4, 7.4.3...
23 months ago
  • 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 timestamp and version are displayed at the top of the report. Thanks, Ammar Askar. Closes issue 1351.
  • A new debug option debug=sqldata adds more detail to debug=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.

Don't miss a new coveragepy release

NewReleases is sending notifications on new releases.