From 7b1d351330b65188e20be905236dcdf48095f536 Mon Sep 17 00:00:00 2001 From: Paul Tarjan Date: Fri, 26 Dec 2025 15:17:13 -0700 Subject: [PATCH] line length --- pre_commit/commands/hook_impl.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pre_commit/commands/hook_impl.py b/pre_commit/commands/hook_impl.py index d33fbce2..d9849a1c 100644 --- a/pre_commit/commands/hook_impl.py +++ b/pre_commit/commands/hook_impl.py @@ -111,7 +111,10 @@ def _ns( def _rev_exists(rev: str) -> bool: - return subprocess.call(('git', 'cat-file', '-e', rev), stderr=subprocess.DEVNULL) == 0 + return subprocess.call( + ('git', 'cat-file', '-e', rev), + stderr=subprocess.DEVNULL, + ) == 0 def _pre_push_ns(