Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions mypy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1163,22 +1163,22 @@ def add_invertible_flag(
"--skip-c-gen", dest="mypyc_skip_c_generation", action="store_true", help=argparse.SUPPRESS
)

other_group = parser.add_argument_group(title="Miscellaneous")
other_group.add_argument("--quickstart-file", help=argparse.SUPPRESS)
other_group.add_argument("--junit-xml", help="Write junit.xml to the given file")
misc_group = parser.add_argument_group(title="Miscellaneous")
misc_group.add_argument("--quickstart-file", help=argparse.SUPPRESS)
misc_group.add_argument("--junit-xml", help="Write junit.xml to the given file")
imports_group.add_argument(
"--junit-format",
choices=["global", "per_file"],
default="global",
help="If --junit-xml is set, specifies format. global: single test with all errors; per_file: one test entry per file with failures",
)
other_group.add_argument(
misc_group.add_argument(
"--find-occurrences",
metavar="CLASS.MEMBER",
dest="special-opts:find_occurrences",
help="Print out all usages of a class member (experimental)",
)
other_group.add_argument(
misc_group.add_argument(
"--scripts-are-modules",
action="store_true",
help="Script x becomes module x instead of __main__",
Expand All @@ -1189,7 +1189,7 @@ def add_invertible_flag(
default=False,
strict_flag=False,
help="Install detected missing library stub packages using pip",
group=other_group,
group=misc_group,
)
add_invertible_flag(
"--non-interactive",
Expand All @@ -1199,12 +1199,12 @@ def add_invertible_flag(
"Install stubs without asking for confirmation and hide "
+ "errors, with --install-types"
),
group=other_group,
group=misc_group,
inverse="--interactive",
)

if server_options:
other_group.add_argument(
misc_group.add_argument(
"--use-fine-grained-cache",
action="store_true",
help="Use the cache in fine-grained incremental mode",
Expand Down
Loading