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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user