summaryrefslogtreecommitdiff
path: root/coverage/config.py
diff options
context:
space:
mode:
authorJerin Peter George <jerinpetergeorge@gmail.com>2020-07-04 05:26:00 +0530
committerGitHub <noreply@github.com>2020-07-03 19:56:00 -0400
commitba7e1db306b5a7f4cb699de90913c7dd8838018f (patch)
tree6926cd002881d3a277b361e8f8d21334797ac3fb /coverage/config.py
parentf28b1dba5d8359029f5f491fec207c10097baf10 (diff)
downloadpython-coveragepy-git-ba7e1db306b5a7f4cb699de90913c7dd8838018f.tar.gz
Report descending sort option (#1005)
* added descending sort option in coverage report * commandline option for report sort added * Fix tests for pull #1005 * conditional statements improved * sort option help updated with choices * commandline test for sort added Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Diffstat (limited to 'coverage/config.py')
-rw-r--r--coverage/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/coverage/config.py b/coverage/config.py
index 6d336d1f..84d9758b 100644
--- a/coverage/config.py
+++ b/coverage/config.py
@@ -211,6 +211,7 @@ class CoverageConfig(object):
self.show_missing = False
self.skip_covered = False
self.skip_empty = False
+ self.sort = None
# Defaults for [html]
self.extra_css = None