File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ def write_legacy_file():
327327 sys .path .insert (0 , "." )
328328
329329 if not 3 <= len (sys .argv ) <= 4 :
330- exit (
330+ sys . exit (
331331 "Specify output directory and storage type: generate_legacy_"
332332 "storage_files.py <output_dir> <storage_type> "
333333 )
@@ -338,7 +338,7 @@ def write_legacy_file():
338338 if storage_type == "pickle" :
339339 write_legacy_pickles (output_dir = output_dir )
340340 else :
341- exit ("storage_type must be one of {'pickle'}" )
341+ sys . exit ("storage_type must be one of {'pickle'}" )
342342
343343
344344if __name__ == "__main__" :
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ disable = [
106106 " comparison-with-itself" ,
107107 " consider-merging-isinstance" ,
108108 " consider-using-min-builtin" ,
109- " consider-using-sys-exit" ,
110109 " consider-using-ternary" ,
111110 " consider-using-with" ,
112111 " cyclic-import" ,
You can’t perform that action at this time.
0 commit comments