flake8 fixes
This commit is contained in:
parent
dae5e305db
commit
1ed7c15c97
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user