File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -896,10 +896,10 @@ def Run(argv: Sequence[str] | None = None) -> NoReturn:
896
896
parser .add_argument (
897
897
"-d" , "--duplicates" , type = int , default = DEFAULT_MIN_SIMILARITY_LINE
898
898
)
899
- parser .add_argument ("-i" , "--ignore-comments" , default = False )
900
- parser .add_argument ("--ignore-docstrings" , default = False )
901
- parser .add_argument ("--ignore-imports" , default = False )
902
- parser .add_argument ("--ignore-signatures" , default = False )
899
+ parser .add_argument ("-i" , "--ignore-comments" , action = "store_true" )
900
+ parser .add_argument ("--ignore-docstrings" , action = "store_true" )
901
+ parser .add_argument ("--ignore-imports" , action = "store_true" )
902
+ parser .add_argument ("--ignore-signatures" , action = "store_true" )
903
903
parsed_args = parser .parse_args (args = argv )
904
904
similar_runner = Symilar (
905
905
min_lines = parsed_args .duplicates ,
You can’t perform that action at this time.
0 commit comments