mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
maybe parens?
This commit is contained in:
parent
ade6b69f2f
commit
2b39c9075f
1 changed files with 2 additions and 2 deletions
|
|
@ -111,10 +111,10 @@ def _ns(
|
|||
|
||||
|
||||
def _rev_exists(rev: str) -> bool:
|
||||
return not not subprocess.call(
|
||||
return not (not subprocess.call(
|
||||
('git', 'cat-file', '-e', rev),
|
||||
stderr=subprocess.DEVNULL,
|
||||
)
|
||||
))
|
||||
|
||||
|
||||
def _pre_push_ns(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue