Skip to content

Commit 8e30221

Browse files
authored
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
1 parent 6289be8 commit 8e30221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coverage/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def copy(self) -> CoverageConfig:
395395
("exclude_list", "report:exclude_lines", "regexlist"),
396396
("exclude_also", "report:exclude_also", "regexlist"),
397397
("fail_under", "report:fail_under", "float"),
398-
("format", "report:format", "boolean"),
398+
("format", "report:format"),
399399
("ignore_errors", "report:ignore_errors", "boolean"),
400400
("include_namespace_packages", "report:include_namespace_packages", "boolean"),
401401
("partial_always_list", "report:partial_branches_always", "regexlist"),

0 commit comments

Comments
 (0)