File tree 2 files changed +2
-3
lines changed 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():
327
327
sys .path .insert (0 , "." )
328
328
329
329
if not 3 <= len (sys .argv ) <= 4 :
330
- exit (
330
+ sys . exit (
331
331
"Specify output directory and storage type: generate_legacy_"
332
332
"storage_files.py <output_dir> <storage_type> "
333
333
)
@@ -338,7 +338,7 @@ def write_legacy_file():
338
338
if storage_type == "pickle" :
339
339
write_legacy_pickles (output_dir = output_dir )
340
340
else :
341
- exit ("storage_type must be one of {'pickle'}" )
341
+ sys . exit ("storage_type must be one of {'pickle'}" )
342
342
343
343
344
344
if __name__ == "__main__" :
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ disable = [
106
106
" comparison-with-itself" ,
107
107
" consider-merging-isinstance" ,
108
108
" consider-using-min-builtin" ,
109
- " consider-using-sys-exit" ,
110
109
" consider-using-ternary" ,
111
110
" consider-using-with" ,
112
111
" cyclic-import" ,
You can’t perform that action at this time.
0 commit comments