mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-03 03:42:35 +01:00
I lint, therefore I am
Implement fixes for the most recent pylint version.
This commit is contained in:
committed by
Marc Bonnici
parent
0e0d4e0ff0
commit
c410d2e1a1
@@ -57,7 +57,8 @@ class CsvReportProcessor(OutputProcessor):
|
||||
raise ConfigError(msg)
|
||||
|
||||
def initialize(self):
|
||||
self.outputs_so_far = [] # pylint: disable=attribute-defined-outside-init
|
||||
# pylint: disable=attribute-defined-outside-init
|
||||
self.outputs_so_far = []
|
||||
self.artifact_added = False
|
||||
|
||||
# pylint: disable=unused-argument
|
||||
@@ -66,14 +67,14 @@ class CsvReportProcessor(OutputProcessor):
|
||||
self._write_outputs(self.outputs_so_far, run_output)
|
||||
if not self.artifact_added:
|
||||
run_output.add_artifact('run_result_csv', 'results.csv', 'export')
|
||||
self.artifact_added = True
|
||||
self.artifact_added = True # pylint: disable=attribute-defined-outside-init
|
||||
|
||||
def process_run_output(self, output, target_info): # pylint: disable=unused-argument
|
||||
self.outputs_so_far.append(output)
|
||||
self._write_outputs(self.outputs_so_far, output)
|
||||
if not self.artifact_added:
|
||||
output.add_artifact('run_result_csv', 'results.csv', 'export')
|
||||
self.artifact_added = True
|
||||
self.artifact_added = True # pylint: disable=attribute-defined-outside-init
|
||||
|
||||
def _write_outputs(self, outputs, output):
|
||||
if self.use_all_classifiers:
|
||||
|
Reference in New Issue
Block a user