From 8e302218a4193ec717dd6cd11f82630b0e461067 Mon Sep 17 00:00:00 2001 From: tanaydin sirin Date: Sun, 10 Mar 2024 13:07:27 +0100 Subject: [PATCH] fix: correct the type of report:format in config.py (#1754) Fixes report commands "format" config type. Which should be string, but defined as boolean --- coverage/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coverage/config.py b/coverage/config.py index 4e1c71f27..7a7cd540e 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -395,7 +395,7 @@ def copy(self) -> CoverageConfig: ("exclude_list", "report:exclude_lines", "regexlist"), ("exclude_also", "report:exclude_also", "regexlist"), ("fail_under", "report:fail_under", "float"), - ("format", "report:format", "boolean"), + ("format", "report:format"), ("ignore_errors", "report:ignore_errors", "boolean"), ("include_namespace_packages", "report:include_namespace_packages", "boolean"), ("partial_always_list", "report:partial_branches_always", "regexlist"),