Skip to content

Commit

Permalink
flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Oct 22, 2023
1 parent dae5e30 commit 1ed7c15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions msys2_autobuild/cmd_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion msys2_autobuild/gh.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 1ed7c15

Please sign in to comment.