File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -1063,6 +1063,12 @@ 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+ )
10661072 incremental_group .add_argument (
10671073 "--fixed-format-cache" ,
10681074 action = "store_true" ,
@@ -1203,13 +1209,6 @@ def add_invertible_flag(
12031209 inverse = "--interactive" ,
12041210 )
12051211
1206- if server_options :
1207- misc_group .add_argument (
1208- "--use-fine-grained-cache" ,
1209- action = "store_true" ,
1210- help = "Use the cache in fine-grained incremental mode" ,
1211- )
1212-
12131212 # hidden options
12141213 parser .add_argument (
12151214 "--stats" , action = "store_true" , dest = "dump_type_stats" , help = argparse .SUPPRESS
You can’t perform that action at this time.
0 commit comments