From dc897e9225b44f13cb61547f384a081b52325709 Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Thu, 20 Jun 2024 11:51:53 +0200 Subject: [PATCH] fixed styling errors detected by pylint work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3878] --- starbench.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/starbench.py b/starbench.py index ed7bd71..0c5fea7 100755 --- a/starbench.py +++ b/starbench.py @@ -75,7 +75,7 @@ class StopWhenConverged(IStarBencherStopCondition): return do_stop -class StarBencher(): +class StarBencher(): # pylint: disable=function-redefined (false positive) ''' the 'star' term comes from hpl's stadgemm benchmark, where we launch `n` independent programs on `n cores` ''' @@ -208,10 +208,10 @@ def test_starbencher(): mean_duration = bench.run() print(mean_duration) - if False: - bench = StarBencher(run_command=['ls', '/tmp'], num_cores_per_run=1, num_parallel_runs=2, max_num_cores=2, max_error=0.0001) - mean_duration = bench.run() - print(mean_duration) + # if False: + # bench = StarBencher(run_command=['ls', '/tmp'], num_cores_per_run=1, num_parallel_runs=2, max_num_cores=2, max_error=0.0001) + # mean_duration = bench.run() + # print(mean_duration) # end of starbencher