@@ -62,10 +62,10 @@ def _add_hook_type_option(parser: argparse.ArgumentParser) -> None:
6262
6363def _add_run_options (parser : argparse .ArgumentParser ) -> None :
6464 parser .add_argument ('hook' , nargs = '?' , help = 'A single hook-id to run' )
65- parser .add_argument ('--verbose' , '-v' , action = 'store_true' , default = False )
65+ parser .add_argument ('--verbose' , '-v' , action = 'store_true' )
6666 mutex_group = parser .add_mutually_exclusive_group (required = False )
6767 mutex_group .add_argument (
68- '--all-files' , '-a' , action = 'store_true' , default = False ,
68+ '--all-files' , '-a' , action = 'store_true' ,
6969 help = 'Run on all the files in the repo.' ,
7070 )
7171 mutex_group .add_argument (
@@ -275,7 +275,7 @@ def _add_cmd(name: str, *, help: str) -> argparse.ArgumentParser:
275275 )
276276 _add_hook_type_option (install_parser )
277277 install_parser .add_argument (
278- '--allow-missing-config' , action = 'store_true' , default = False ,
278+ '--allow-missing-config' , action = 'store_true' ,
279279 help = (
280280 'Whether to allow a missing `pre-commit` configuration file '
281281 'or exit with a failure code.'
0 commit comments