diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-11-05 15:35:22 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-11-05 15:35:22 -0400 |
commit | 3b3cc6959b3aa515915816c2159806fab570ceb9 (patch) | |
tree | 8c2964ea146ce654ea7346b1a86fc87d510f6015 /coverage/config.py | |
parent | 01d86775522ed67a246f2b17657e7a119cb6b8a1 (diff) | |
download | python-coveragepy-git-3b3cc6959b3aa515915816c2159806fab570ceb9.tar.gz |
refactor: use `format` wherever we can
Diffstat (limited to 'coverage/config.py')
-rw-r--r-- | coverage/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/config.py b/coverage/config.py index 1f239ea3..309f65e8 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -199,7 +199,7 @@ class CoverageConfig: # Defaults for [report] self.exclude_list = DEFAULT_EXCLUDE[:] self.fail_under = 0.0 - self.output_format = None + self.format = None self.ignore_errors = False self.report_include = None self.report_omit = None @@ -375,7 +375,7 @@ class CoverageConfig: # [report] ('exclude_list', 'report:exclude_lines', 'regexlist'), ('fail_under', 'report:fail_under', 'float'), - ('output_format', 'report:output_format', 'boolean'), + ('format', 'report:format', 'boolean'), ('ignore_errors', 'report:ignore_errors', 'boolean'), ('partial_always_list', 'report:partial_branches_always', 'regexlist'), ('partial_list', 'report:partial_branches', 'regexlist'), |