Skip to content

Commit 2b39c90

Browse files
committed
maybe parens?
1 parent ade6b69 commit 2b39c90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pre_commit/commands/hook_impl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ def _ns(
111111

112112

113113
def _rev_exists(rev: str) -> bool:
114-
return not not subprocess.call(
114+
return not (not subprocess.call(
115115
('git', 'cat-file', '-e', rev),
116116
stderr=subprocess.DEVNULL,
117-
)
117+
))
118118

119119

120120
def _pre_push_ns(

0 commit comments

Comments
 (0)