Skip to content

Commit

Permalink
fix: correct the type of report:format in config.py (#1754)
Browse files Browse the repository at this point in the history
Fixes report commands "format" config type. Which should be string, but defined as boolean
  • Loading branch information
tanaydin authored Mar 10, 2024
1 parent 6289be8 commit 8e30221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coverage/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 8e30221

Please sign in to comment.