File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
devops/scripts/benchmarks Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -386,10 +386,9 @@ def to_hist(
386386 )
387387
388388 def write_summary_to_file (summary : list [str ]):
389- with open (args .produce_github_summary , 'w' ) as f :
389+ with open (args .produce_github_summary , "w" ) as f :
390390 f .write ("\n " .join (summary ))
391391
392-
393392 # Not all regressions are of concern: if a filter is provided, filter
394393 # regressions using filter
395394 regressions_ignored = []
@@ -421,7 +420,9 @@ def print_regression(entry: dict, is_warning: bool = False):
421420 f"- Historic { entry ['avg_type' ]} : { entry ['hist_avg' ]} "
422421 )
423422 gh_summary .append (f"- Run result: { entry ['value' ]} " )
424- gh_summary .append (f"- Delta: { round (entry ['delta' ]* 100 , 2 )} % ({ entry ['delta' ]} )" )
423+ gh_summary .append (
424+ f"- Delta: { round (entry ['delta' ]* 100 , 2 )} % ({ entry ['delta' ]} )"
425+ )
425426 gh_summary .append ("" )
426427
427428 if improvements :
You can’t perform that action at this time.
0 commit comments