File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments