7.6.0
Version 7.6.0 — 2024-07-11
- Exclusion patterns can now be multi-line, thanks to Daniel Diniz. This enables many interesting exclusion use-cases, including those requested in issues 118 (entire files), 996 (multiple lines only when appearing together), 1741 (remainder of a function), and 1803 (arbitrary sequence of marked lines). See the Multi-line exclusion regexes section of the docs for more details and examples.
- The JSON report now includes per-function and per-class coverage information. Thanks to Daniel Diniz for getting the work started. This closes issue 1793 and issue 1532.
- Fixed an incorrect calculation of “(no class)” lines in the HTML classes report.
- Python 3.13.0b3 is supported.
➡️ PyPI page: coverage 7.6.0.
➡️ To install: python3 -m pip install coverage==7.6.0