From 0287f07421433d9da45ded22c75803ac2def46cb Mon Sep 17 00:00:00 2001 From: gnought <1684105+gnought@users.noreply.github.com> Date: Sat, 21 Feb 2026 12:10:43 +0800 Subject: [PATCH] lint fix --- pre_commit/store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: