Commit fe1158ac authored by Simon Chabot's avatar Simon Chabot
Browse files

style: make flake8 and black happy

parent 922a5753272c
Pipeline #47390 passed with stage
in 36 seconds
...@@ -47,6 +47,7 @@ Do you think it should still be merged? ...@@ -47,6 +47,7 @@ Do you think it should still be merged?
Thank you for your time. Thank you for your time.
""" """
def all_reviews(cnx, reviewer_id="None"): def all_reviews(cnx, reviewer_id="None"):
merge_requests = cnx.mergerequests.list( merge_requests = cnx.mergerequests.list(
labels=TO_REVIEW_LABEL, labels=TO_REVIEW_LABEL,
......
...@@ -19,7 +19,8 @@ def assignee_to_reviewer(cnx): ...@@ -19,7 +19,8 @@ def assignee_to_reviewer(cnx):
assignee = merge_request.assignee assignee = merge_request.assignee
author = merge_request.author author = merge_request.author
logging.info( logging.info(
f'Assigning {author["name"]} and request review from {assignee["name"]} on {merge_request.web_url}' f'Assigning {author["name"]} and request review from '
f'{assignee["name"]} on {merge_request.web_url}'
) )
try: try:
cnx.http_put( cnx.http_put(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment