diff --git a/pre_commit/store.py b/pre_commit/store.py index 96591af2..65caa2c0 100644 --- a/pre_commit/store.py +++ b/pre_commit/store.py @@ -203,7 +203,7 @@ class Store: git.init_repo(directory, repo) env = git.no_git_env() - def _git_cmd(*args: str, check=True) -> None: + def _git_cmd(*args: str, check: bool = True) -> None: cmd_output_b('git', *args, cwd=directory, env=env, check=check) try: