Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet committed Mar 6, 2024
1 parent 6af0bbe commit e683264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bert_e/workflow/pr_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _send_comment(settings, pull_request: AbstractPullRequest, msg: str,


def _send_bot_status(settings, pull_request: AbstractPullRequest,
comment: exceptions.TemplateException):
comment: exceptions.TemplateException):
"""Post the bot status in a pull request."""
if settings.send_bot_status is False:
LOG.debug("Not sending bot status (send_bot_status==False)")
Expand All @@ -104,6 +104,6 @@ def notify_user(settings, pull_request: AbstractPullRequest,
try:
_send_bot_status(settings, pull_request, comment)
_send_comment(settings, pull_request, str(comment),
comment.dont_repeat_if_in_history)
comment.dont_repeat_if_in_history)
except exceptions.CommentAlreadyExists:
LOG.info("Comment '%s' already posted", comment.__class__.__name__)

0 comments on commit e683264

Please sign in to comment.