1
0
Fork 0

Adding upstream version 3.2.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 21:39:47 +01:00
parent 1a4d9cedd3
commit 346ef73c17
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
23 changed files with 357 additions and 102 deletions

View file

@ -3,6 +3,7 @@ from __future__ import annotations
import contextlib
import os.path
import subprocess
import sys
import pytest
@ -30,7 +31,7 @@ def cmd_output_mocked_pre_commit_home(
return ret, out.replace('\r\n', '\n'), None
xfailif_windows = pytest.mark.xfail(os.name == 'nt', reason='windows')
xfailif_windows = pytest.mark.xfail(sys.platform == 'win32', reason='windows')
def run_opts(
@ -43,9 +44,11 @@ def run_opts(
local_branch='',
from_ref='',
to_ref='',
pre_rebase_upstream='',
pre_rebase_branch='',
remote_name='',
remote_url='',
hook_stage='commit',
hook_stage='pre-commit',
show_diff_on_failure=False,
commit_msg_filename='',
prepare_commit_message_source='',
@ -66,6 +69,8 @@ def run_opts(
local_branch=local_branch,
from_ref=from_ref,
to_ref=to_ref,
pre_rebase_upstream=pre_rebase_upstream,
pre_rebase_branch=pre_rebase_branch,
remote_name=remote_name,
remote_url=remote_url,
hook_stage=hook_stage,