@@ -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 (
@@ -279,7 +279,7 @@ def _add_cmd(name: str, *, help: str) -> argparse.ArgumentParser:
279279 )
280280 _add_hook_type_option (install_parser )
281281 install_parser .add_argument (
282- '--allow-missing-config' , action = 'store_true' , default = False ,
282+ '--allow-missing-config' , action = 'store_true' ,
283283 help = (
284284 'Whether to allow a missing `pre-commit` configuration file '
285285 'or exit with a failure code.'
0 commit comments