summaryrefslogtreecommitdiff
path: root/coverage/config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-01-22 15:19:23 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-01-22 16:48:59 -0500
commit3f221e0339b74137bbf45289497955700dc49feb (patch)
tree59530795e7037508e4590264561adc281e2f28ab /coverage/config.py
parentcbe2e205dac99f20afff4ccdeca21fd10d596565 (diff)
downloadpython-coveragepy-git-3f221e0339b74137bbf45289497955700dc49feb.tar.gz
fix: small fixes to lcov, and changes.rst mention.
Diffstat (limited to 'coverage/config.py')
-rw-r--r--coverage/config.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/coverage/config.py b/coverage/config.py
index 75217def..9909c530 100644
--- a/coverage/config.py
+++ b/coverage/config.py
@@ -227,7 +227,7 @@ class CoverageConfig:
self.json_pretty_print = False
self.json_show_contexts = False
- # Default output filename for lcov_reporter
+ # Defaults for [lcov]
self.lcov_output = "coverage.lcov"
# Defaults for [paths]
@@ -400,6 +400,9 @@ class CoverageConfig:
('json_output', 'json:output'),
('json_pretty_print', 'json:pretty_print', 'boolean'),
('json_show_contexts', 'json:show_contexts', 'boolean'),
+
+ # [lcov]
+ ('lcov_output', 'lcov:output'),
]
def _set_attr_from_config_option(self, cp, attr, where, type_=''):