Skip to content

Commit 2c9b459

Browse files
Apply suggestions from code review
Co-authored-by: Julien Palard <[email protected]>
1 parent d4c89b5 commit 2c9b459

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pydocteur/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ def process_incoming_payload():
5656
print("State has not changed, ignoring event.")
5757
return "OK", 200
5858
state_dict = {
59-
"automerge_approved": comment_pr,
60-
"automerge_approved_testok": merge_and_thank_contributors
59+
"automerge_approved_testok": merge_and_thank_contributors,
6160
# ...
6261
}
6362
state_dict.get(state, comment_pr)(state=state, pr=pr)

0 commit comments

Comments
 (0)