Skip to content

Commit a1a7897

Browse files
put junit format into misc group not import group
the inclusion into imports group seems to have been a mistake in #16388 although one could perhaps argue it is tangentially related to imports in some way. But it does not influence import discovery, unlike the other options.
1 parent c05df76 commit a1a7897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ def add_invertible_flag(
11701170
metavar="JUNIT_XML_OUTPUT_FILE",
11711171
help="Write a JUnit XML test result document with type checking results to the given file",
11721172
)
1173-
imports_group.add_argument(
1173+
misc_group.add_argument(
11741174
"--junit-format",
11751175
choices=["global", "per_file"],
11761176
default="global",

0 commit comments

Comments
 (0)