flake8 fixes

This commit is contained in:
Christoph Reiter 2023-10-22 16:19:57 +02:00
parent dae5e305db
commit 1ed7c15c97
2 changed files with 3 additions and 3 deletions

View File

@ -84,10 +84,10 @@ def run_build(args: Any) -> None:
pkg, build_type = todo
try:
with gha_group(f"[{ pkg['repo'] }] [{ build_type }] { pkg['name'] }..."):
with gha_group(f"[{pkg['repo']}] [{build_type}] {pkg['name']}..."):
build_package(build_type, pkg, msys2_root, builddir)
except BuildError:
with gha_group(f"[{ pkg['repo'] }] [{ build_type }] { pkg['name'] }: failed"):
with gha_group(f"[{pkg['repo']}] [{build_type}] {pkg['name']}: failed"):
traceback.print_exc(file=sys.stdout)
continue

View File

@ -107,7 +107,7 @@ def get_current_run_urls() -> Optional[Dict[str, str]]:
raw = commit.html_url + "/checks/" + str(run.id) + "/logs"
return {"html": html, "raw": raw}
else:
raise Exception(f"No active job found for { run_name }")
raise Exception(f"No active job found for {run_name}")
return None