Skip to content

Commit e935cb7

Browse files
committed
Black formatting
1 parent a9cbf0d commit e935cb7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

report-pull-request-results.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,14 +303,16 @@ def read_maxmem_comparison_file(unit_tests_file):
303303
for line in openlog(unit_tests_file):
304304
if "exceeds" in line.lower():
305305
err_cnt += 1
306-
message_line = ['-']
306+
message_line = ["-"]
307307
message_line.extend(line.split(":")[1:].strip().split(" "))
308308
message_line.extend(["\n"])
309309
errors_found.add(message_line)
310310
if err_cnt > 0:
311311
message = (
312312
"\n## Max Memory Comparisons exceeding threshold\n\n"
313-
"@cms-sw/core-l2 , I found %s workflow step(s) with memory usage exceeding the error threshold:\n" % err_cnt)
313+
"@cms-sw/core-l2 , I found %s workflow step(s) with memory usage exceeding the error threshold:\n"
314+
% err_cnt
315+
)
314316
for message in sorted(errors_found, key=lambda s: s[2]):
315317
message += " ".join(message)
316318
send_message_pr(message)

0 commit comments

Comments
 (0)