diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-27 16:54:17 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-27 16:54:17 +0200 |
| commit | 93e3aac6315c17a74e63f02053a3e8e2e6b21928 (patch) | |
| tree | 6f1c22dff617e05807a88c107389654cbaf7d090 /src/benchmarks/espresso.py | |
| parent | ce532bbe9c03e52f80d263ea02038e9b81696e89 (diff) | |
| download | allocbench-93e3aac6315c17a74e63f02053a3e8e2e6b21928.tar.gz allocbench-93e3aac6315c17a74e63f02053a3e8e2e6b21928.zip | |
improve benchmark code quality using pylint
The description Benchmark member is replaced with class docstrings
Diffstat (limited to 'src/benchmarks/espresso.py')
| -rw-r--r-- | src/benchmarks/espresso.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/benchmarks/espresso.py b/src/benchmarks/espresso.py index b06d823..0916c6c 100644 --- a/src/benchmarks/espresso.py +++ b/src/benchmarks/espresso.py @@ -1,15 +1,18 @@ +"""Definition of the espresso benchmark""" + import os from src.benchmark import Benchmark import src.globalvars -class Benchmark_Espresso(Benchmark): +class BenchmarkEspresso(Benchmark): + """TODO""" def __init__(self): self.name = "espresso" - self.descrition = """TODO.""" self.cmd = "espresso{binary_suffix} {file}" - self.args = {"file": [os.path.join(src.globalvars.benchsrcdir, self.name, "largest.espresso")]} + self.args = {"file": [os.path.join(src.globalvars.benchsrcdir, self.name, + "largest.espresso")]} super().__init__() @@ -40,4 +43,4 @@ class Benchmark_Espresso(Benchmark): self.export_stats_to_dataref("VmHWM") -espresso = Benchmark_Espresso()
\ No newline at end of file +espresso = BenchmarkEspresso() |
