Skip to content

Commit dd0b354

Browse files
committed
docs: re-order the changelog
1 parent 50de80d commit dd0b354

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

CHANGES.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,21 @@ upgrading your version of coverage.py.
2323
Unreleased
2424
----------
2525

26+
- The HTML report now dimly colors subsequent lines in multi-line statements.
27+
They used to have no color. This gives a better indication of the amount of
28+
code missing in the report. Closes `issue 1308`_.
29+
30+
- Two new exclusion patterns are part of the defaults: ``...`` is automatically
31+
excluded as a line and ``if TYPE_CHECKING:`` is excluded as a branch. Closes
32+
`issue 831`_.
33+
2634
- A new configuration option: ":ref:`config_run_patch`" lets you
2735
specify named patches to apply to work around some limitations in coverage
2836
measurement. As of now, there is only one patch: ``os._exit`` lets coverage
2937
save its data even when :func:`os._exit() <python:os._exit>` is used to
3038
abruptly end the process. This closes long-standing `issue 310`_ as well as
3139
its duplicates: `issue 312`_, `issue 1845`_, and `issue 1941`_.
3240

33-
- Two new exclusion patterns are part of the defaults: ``...`` is automatically
34-
excluded as a line and ``if TYPE_CHECKING:`` is excluded as a branch. Closes
35-
`issue 831`_.
36-
3741
- A new configuration option: ":ref:`config_report_partial_also`" is a list of
3842
regexes to add as pragmas for partial branches. This parallels the
3943
":ref:`config_report_exclude_also`" setting for adding line exclusion
@@ -43,10 +47,6 @@ Unreleased
4347
:ref:`config_json_output`, :ref:`config_lcov_output` and
4448
:ref:`config_run_debug_file`. This is now fixed.
4549

46-
- The HTML report now dimly colors subsequent lines in multi-line statements.
47-
They used to have no color. This gives a better indication of the amount of
48-
code executed or missing. Closes `issue 1308`_.
49-
5050
.. _issue 310: https://github.com/nedbat/coveragepy/issues/310
5151
.. _issue 312: https://github.com/nedbat/coveragepy/issues/312
5252
.. _issue 831: https://github.com/nedbat/coveragepy/issues/831

0 commit comments

Comments
 (0)