File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ Unreleased
39
39
- The ``--skip-empty `` option is now available for the XML report, closing
40
40
`issue 976 `_.
41
41
42
+ - The ``coverage report `` command now accepts a ``--sort `` option to specify
43
+ how to sort the results. Thanks, Jerin Peter George (`pull request 1005 `_).
44
+
42
45
- If coverage fails due to the coverage total not reaching the ``--fail-under ``
43
46
value, it will now print a message making the condition clear. Thanks,
44
47
Naveen Yadav (`pull request 977 `_).
@@ -54,6 +57,7 @@ Unreleased
54
57
.. _pull request 932 : https://github.com/nedbat/coveragepy/pull/932
55
58
.. _pull request 977 : https://github.com/nedbat/coveragepy/pull/977
56
59
.. _pull request 982 : https://github.com/nedbat/coveragepy/pull/982
60
+ .. _pull request 1005 : https://github.com/nedbat/coveragepy/pull/1005
57
61
.. _issue 779 : https://github.com/nedbat/coveragepy/issues/779
58
62
.. _issue 858 : https://github.com/nedbat/coveragepy/issues/858
59
63
.. _issue 976 : https://github.com/nedbat/coveragepy/issues/976
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ Ilia Meerovich
71
71
Imri Goldberg
72
72
Ionel Cristian Mărieș
73
73
JT Olds
74
+ Jerin Peter George
74
75
Jessamyn Smith
75
76
Joe Doherty
76
77
Joe Jevnik
Original file line number Diff line number Diff line change @@ -375,6 +375,8 @@ details.
375
375
The ``--precision `` option controls the number of digits displayed after the
376
376
decimal point in coverage percentages, defaulting to none.
377
377
378
+ The ``--sort `` option is the name of a column to sort the report by.
379
+
378
380
Other common reporting options are described above in :ref: `cmd_reporting `.
379
381
380
382
You can’t perform that action at this time.
0 commit comments