Skip to content

Commit 6dc88f3

Browse files
committed
Fix mistake
1 parent f845744 commit 6dc88f3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

homu/parse_issue_comment.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def parse_issue_comment(username, body, sha, botname, hooks=[]):
206206

207207
if await_ci:
208208
commands.append(
209-
IssueCommentCommand.approve_await(approver, approved_sha))
209+
IssueCommentCommand.approve_await(approver, approved_sha)) # noqa
210210
else:
211211
commands.append(
212212
IssueCommentCommand.approve(approver, approved_sha))

homu/tests/test_parse_issue_comment.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def test_r_plus_with_sha():
5252
assert command.actor == 'jack'
5353
assert command.commit == other_commit
5454

55+
5556
def test_r_plus_await():
5657
"""
5758
@bors r+ await
@@ -128,7 +129,7 @@ def test_r_equals_await():
128129
assert command.actor == 'jill'
129130

130131

131-
def test_r_equals_at_user():
132+
def test_r_equals_at_user_await():
132133
"""
133134
@bors r=@jill await
134135
"""

0 commit comments

Comments
 (0)