scripts/*.py: update coding style (#10761)
* convert to f string * use a next function instead of a for-loop * remove uneeded else statement * use in operator instead of multi comparison * conver to f string * adds extra line between function defs * revert/change to PR comment around looping * remove uneeded loops * revert to keep old style choice
This commit is contained in:
@@ -29,7 +29,7 @@ Is this intended? If so, just ignore this comment. Otherwise, please double-chec
|
||||
|
||||
|
||||
def post_comment(pr_id, body, once):
|
||||
endpoint = BOT_URL + "/comment"
|
||||
endpoint = f"{BOT_URL}/comment"
|
||||
|
||||
if once:
|
||||
endpoint += "/once"
|
||||
|
Reference in New Issue
Block a user