precommit: Increase local timeout to 30 seconds

This commit is contained in:
Ole Schütt 2026-01-06 14:13:22 +01:00 committed by Ole Schütt
parent 7c648bcc1f
commit 391ac323bf

View file

@ -303,7 +303,7 @@ def check_data_files() -> None:
# ======================================================================================
def run_local_tool(*cmd: str, timeout: int = 20) -> None:
def run_local_tool(*cmd: str, timeout: int = 30) -> None:
p = subprocess.run(cmd, timeout=timeout, stdout=PIPE, stderr=STDOUT)
if p.returncode != 0:
raise Exception(p.stdout.decode("utf8"))