From 3b3cc6959b3aa515915816c2159806fab570ceb9 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 5 Nov 2022 15:35:22 -0400 Subject: refactor: use `format` wherever we can --- coverage/control.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'coverage/control.py') diff --git a/coverage/control.py b/coverage/control.py index a8cf1649..d260eeab 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -923,8 +923,8 @@ class Coverage: `file` is a file-like object, suitable for writing. - `output_format` provides options, to print eitehr as plain text, or as - markdown code + `output_format` determines the format, either "text" (the default), + or "markdown". `include` is a list of file name patterns. Files that match will be included in the report. Files matching `omit` will not be included in @@ -966,7 +966,7 @@ class Coverage: ignore_errors=ignore_errors, report_omit=omit, report_include=include, show_missing=show_missing, skip_covered=skip_covered, report_contexts=contexts, skip_empty=skip_empty, precision=precision, - sort=sort, output_format=output_format, + sort=sort, format=output_format, ): reporter = SummaryReporter(self) return reporter.report(morfs, outfile=file) -- cgit v1.2.1