1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 02:01:16 +00:00

wa/instruments: pep8 fixes

This commit is contained in:
Marc Bonnici 2018-07-03 14:16:16 +01:00
parent 30471613de
commit 0b8501e010
4 changed files with 28 additions and 25 deletions

View File

@ -21,6 +21,7 @@ from wa.framework.exception import InstrumentError
from wa.framework.instrument import slow from wa.framework.instrument import slow
from wa.utils.misc import ensure_file_directory_exists as _f from wa.utils.misc import ensure_file_directory_exists as _f
class DmesgInstrument(Instrument): class DmesgInstrument(Instrument):
# pylint: disable=no-member,attribute-defined-outside-init # pylint: disable=no-member,attribute-defined-outside-init
""" """

View File

@ -309,6 +309,7 @@ class AcmeCapeBackend(EnergyInstrumentBackend):
iio_device=iio_device, buffer_size=buffer_size) iio_device=iio_device, buffer_size=buffer_size)
return ret return ret
class MonsoonBackend(EnergyInstrumentBackend): class MonsoonBackend(EnergyInstrumentBackend):
name = 'monsoon' name = 'monsoon'

View File

@ -21,6 +21,7 @@ from wa.framework.instrument import fast
MOMENTARY_QUANTITIES = ['temperature', 'power', 'voltage', 'current', 'fps'] MOMENTARY_QUANTITIES = ['temperature', 'power', 'voltage', 'current', 'fps']
CUMULATIVE_QUANTITIES = ['energy', 'tx', 'tx/rx', 'frames'] CUMULATIVE_QUANTITIES = ['energy', 'tx', 'tx/rx', 'frames']
class HwmonInstrument(Instrument): class HwmonInstrument(Instrument):
name = 'hwmon' name = 'hwmon'