mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-20 01:24:42 +04:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
6c87f31a79
commit
311eeac592
1 changed files with 2 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ def _rev_exists(rev: str) -> bool:
|
||||||
|
|
||||||
def _is_ancestor(ancestor: str, rev: str):
|
def _is_ancestor(ancestor: str, rev: str):
|
||||||
return not subprocess.call(
|
return not subprocess.call(
|
||||||
('git', 'merge-base', '--is-ancestor', ancestor, rev)
|
('git', 'merge-base', '--is-ancestor', ancestor, rev),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue