mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-14 17:41:45 +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:
|
def _rev_exists(rev: str) -> bool:
|
||||||
return not not subprocess.call(
|
return not (not subprocess.call(
|
||||||
('git', 'cat-file', '-e', rev),
|
('git', 'cat-file', '-e', rev),
|
||||||
stderr=subprocess.DEVNULL,
|
stderr=subprocess.DEVNULL,
|
||||||
)
|
))
|
||||||
|
|
||||||
|
|
||||||
def _pre_push_ns(
|
def _pre_push_ns(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue