From 8fd50fcc98686f0726fa23836c7049509ed23297 Mon Sep 17 00:00:00 2001 From: gnought <1684105+gnought@users.noreply.github.com> Date: Wed, 18 Feb 2026 11:23:28 +0800 Subject: [PATCH] lint fix --- pre_commit/store.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pre_commit/store.py b/pre_commit/store.py index de51c473..96591af2 100644 --- a/pre_commit/store.py +++ b/pre_commit/store.py @@ -186,7 +186,10 @@ class Store: git_config = 'protocol.version=2' git_cmd('-c', git_config, 'fetch', 'origin', ref, '--depth=1') - git_cmd('-c', git_config, 'fetch', 'origin', f'refs/tags/{ref}:refs/tags/{ref}', '--depth=1', check=False) + git_cmd( + '-c', git_config, 'fetch', 'origin', + f'refs/tags/{ref}:refs/tags/{ref}', '--depth=1', check=False, + ) git_cmd('checkout', 'FETCH_HEAD') git_cmd( '-c', git_config, 'submodule', 'update', '--init', '--recursive',