Skip to content

Commit

Permalink
🎨 Format Python with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed May 12, 2022
1 parent 239f1a5 commit 3542927
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/actions/comment-docs-preview-in-pr/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ class PartialGithubEvent(BaseModel):
use_pr = pr
break
if not use_pr:
logging.error(
f"No PR found for hash: {event.workflow_run.head_commit.id}"
)
logging.error(f"No PR found for hash: {event.workflow_run.head_commit.id}")
sys.exit(0)
github_headers = {
"Authorization": f"token {settings.input_token.get_secret_value()}"
Expand Down

0 comments on commit 3542927

Please sign in to comment.