github nedbat/coveragepy 7.2.0

latest releases: 7.6.1, 7.6.0, 7.5.4...
19 months ago
  • Added a new setting [report] exclude_also to let you add more exclusions without overwriting the defaults. Thanks, Alpha Chen, closing issue 1391.
  • Added a .CoverageData.purge_files method to remove recorded data for a particular file. Contributed by Stephan Deibel.
  • Fix: when reporting commands fail, they will no longer congratulate themselves with messages like "Wrote XML report to file.xml" before spewing a traceback about their failure.
  • Fix: arguments in the public API that name file paths now accept pathlib.Path objects. This includes the data_file and config_file arguments to the Coverage constructor and the basename argument to CoverageData. Closes issue 1552.
  • Fix: In some embedded environments, an IndexError could occur on stop() when the originating thread exits before completion. This is now fixed, thanks to Russell Keith-Magee, closing issue 1542.
  • Added a py.typed file to announce our type-hintedness. Thanks, KotlinIsland.

➡️  PyPI page: coverage 7.2.0.
➡️  To install: python3 -m pip install coverage==7.2.0

Don't miss a new coveragepy release

NewReleases is sending notifications on new releases.