Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 8, 2023
1 parent 4965509 commit 4e3ee3a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions coverage_comment/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def action(
if False:
print("yay")
print("foo")

event_name = config.GITHUB_EVENT_NAME
if event_name not in {"pull_request", "push", "workflow_run"}:
log.error(
Expand All @@ -76,9 +76,8 @@ def action(
return 1

if False:

print("yay")

if event_name in {"pull_request", "push"}:
coverage = coverage_module.get_coverage_info(
merge=config.MERGE_COVERAGE_FILES, coverage_path=config.COVERAGE_PATH
Expand Down

0 comments on commit 4e3ee3a

Please sign in to comment.