1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-03 11:52:36 +01:00

wa/instruments: pylint/fixes

This commit is contained in:
Marc Bonnici
2018-07-03 14:25:33 +01:00
parent 0b8501e010
commit 6afd710bd1
7 changed files with 18 additions and 20 deletions

View File

@@ -41,18 +41,18 @@ class HwmonInstrument(Instrument):
hwmon data will be reported.
"""
def initialize(self, context):
def initialize(self, context): #pylint: disable=unused-argument
self.instrument = _Instrument(self.target)
def setup(self, context):
def setup(self, context): #pylint: disable=unused-argument
self.instrument.reset()
@fast
def start(self, context):
def start(self, context): #pylint: disable=unused-argument
self.before = self.instrument.take_measurement()
@fast
def stop(self, context):
def stop(self, context): #pylint: disable=unused-argument
self.after = self.instrument.take_measurement()
def update_output(self, context):
@@ -85,5 +85,5 @@ class HwmonInstrument(Instrument):
"Don't know what to do with hwmon channel '{}'"
.format(measurement_after.channel))
def teardown(self, context):
def teardown(self, context): #pylint: disable=unused-argument
self.instrument.teardown()