diff --git a/benchmarks/lb_base.py b/benchmarks/lb_base.py index d1d91fa9..8e047441 100644 --- a/benchmarks/lb_base.py +++ b/benchmarks/lb_base.py @@ -39,8 +39,10 @@ # ############################################################################## + def _set_output(key: str, value: str): - print(f"::set-output name={key}::{value}") # noqa: E231 + print(f"::set-output name={key}::{value}") # noqa: E231 + def run(pipelines): paradigm = P300(resample=128) @@ -86,5 +88,7 @@ def run(pipelines): score_trun = int(score * 100) better_pr_score = pr_score_trun >= score_trun success = success and better_pr_score - print(f"{key}: {pr_score_trun} (PR) >= {score_trun} (main): {better_pr_score}") + print( + f"{key}: {pr_score_trun} (PR) >= {score_trun} (main): {better_pr_score}" + ) _set_output("success", "1" if success else "0") diff --git a/benchmarks/light_benchmark.py b/benchmarks/light_benchmark.py index 4cb567a8..2f2a1079 100644 --- a/benchmarks/light_benchmark.py +++ b/benchmarks/light_benchmark.py @@ -87,7 +87,7 @@ ############################################################################## # Compute score and compare with PR branch # ------------------------------------------ -# +# ############################################################################## run(pipelines) diff --git a/benchmarks/light_benchmark_nch_min_hull.py b/benchmarks/light_benchmark_nch_min_hull.py index f229db9c..4bfeb1c3 100644 --- a/benchmarks/light_benchmark_nch_min_hull.py +++ b/benchmarks/light_benchmark_nch_min_hull.py @@ -61,7 +61,7 @@ ############################################################################## # Compute score and compare with PR branch # ------------------------------------------ -# +# ############################################################################## run(pipelines) diff --git a/benchmarks/light_benchmark_nch_qaoacv.py b/benchmarks/light_benchmark_nch_qaoacv.py index e1b3287c..aef5dfc0 100644 --- a/benchmarks/light_benchmark_nch_qaoacv.py +++ b/benchmarks/light_benchmark_nch_qaoacv.py @@ -66,7 +66,7 @@ ############################################################################## # Compute score and compare with PR branch # ------------------------------------------ -# +# ############################################################################## run(pipelines)