Skip to content

Commit 8c2efb4

Browse files
Split off into own PR and thus Revert "move --use-fine-grained-cache to Incremental group"
This reverts commit 742db15.
1 parent 655fef3 commit 8c2efb4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

mypy/main.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,12 +1063,6 @@ def add_invertible_flag(
10631063
action="store_true",
10641064
help="Include fine-grained dependency information in the cache for the mypy daemon",
10651065
)
1066-
if server_options:
1067-
incremental_group.add_argument(
1068-
"--use-fine-grained-cache",
1069-
action="store_true",
1070-
help="Use the cache in fine-grained incremental mode (this flag only available for dmypy)",
1071-
)
10721066
incremental_group.add_argument(
10731067
"--fixed-format-cache",
10741068
action="store_true",
@@ -1217,6 +1211,13 @@ def add_invertible_flag(
12171211
inverse="--interactive",
12181212
)
12191213

1214+
if server_options:
1215+
misc_group.add_argument(
1216+
"--use-fine-grained-cache",
1217+
action="store_true",
1218+
help="Use the cache in fine-grained incremental mode",
1219+
)
1220+
12201221
# hidden options
12211222
parser.add_argument(
12221223
"--stats", action="store_true", dest="dump_type_stats", help=argparse.SUPPRESS

0 commit comments

Comments
 (0)