Changelog
### 7.6.0
```
--------------------------
- Exclusion patterns can now be multi-line, thanks to `Daniel Diniz <pull
1807_>`_. This enables many interesting exclusion use-cases, including those
requested in issues `118 <issue 118_>`_ (entire files), `996
<issue 996_>`_ (multiple lines only when appearing together), `1741
<issue 1741_>`_ (remainder of a function), and `1803 <issue 1803_>`_
(arbitrary sequence of marked lines). See the :ref:`multi_line_exclude`
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 <pull 1809_>`_ 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.
.. _issue 118: https://github.com/nedbat/coveragepy/issues/118
.. _issue 996: https://github.com/nedbat/coveragepy/issues/996
.. _issue 1532: https://github.com/nedbat/coveragepy/issues/1532
.. _issue 1741: https://github.com/nedbat/coveragepy/issues/1741
.. _issue 1793: https://github.com/nedbat/coveragepy/issues/1793
.. _issue 1803: https://github.com/nedbat/coveragepy/issues/1803
.. _pull 1807: https://github.com/nedbat/coveragepy/pull/1807
.. _pull 1809: https://github.com/nedbat/coveragepy/pull/1809
.. _changes_7-5-4:
```
Links
- PyPI: https://pypi.org/project/coverage
- Changelog: https://data.safetycli.com/changelogs/coverage/
- Repo: https://github.com/nedbat/coveragepy
This PR updates coverage from 7.5.4 to 7.6.0.
Changelog
### 7.6.0 ``` -------------------------- - Exclusion patterns can now be multi-line, thanks to `Daniel Diniz <pull 1807_>`_. This enables many interesting exclusion use-cases, including those requested in issues `118 <issue 118_>`_ (entire files), `996 <issue 996_>`_ (multiple lines only when appearing together), `1741 <issue 1741_>`_ (remainder of a function), and `1803 <issue 1803_>`_ (arbitrary sequence of marked lines). See the :ref:`multi_line_exclude` 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 <pull 1809_>`_ 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. .. _issue 118: https://github.com/nedbat/coveragepy/issues/118 .. _issue 996: https://github.com/nedbat/coveragepy/issues/996 .. _issue 1532: https://github.com/nedbat/coveragepy/issues/1532 .. _issue 1741: https://github.com/nedbat/coveragepy/issues/1741 .. _issue 1793: https://github.com/nedbat/coveragepy/issues/1793 .. _issue 1803: https://github.com/nedbat/coveragepy/issues/1803 .. _pull 1807: https://github.com/nedbat/coveragepy/pull/1807 .. _pull 1809: https://github.com/nedbat/coveragepy/pull/1809 .. _changes_7-5-4: ```Links
- PyPI: https://pypi.org/project/coverage - Changelog: https://data.safetycli.com/changelogs/coverage/ - Repo: https://github.com/nedbat/coveragepy