mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-11 07:42:44 +01:00
pep8: Ignore line break before binary operator
PEP8 has switched its guidance [1] for where a line break should occur in relation to a binary operator, so don't raise this warning for new code and update the code base to follow the new style. [1] https://www.python.org/dev/peps/pep-0008/#should-a-line-break-before-or-after-a-binary-operator
This commit is contained in:
@@ -134,8 +134,8 @@ class CpuStatesProcessor(OutputProcessor):
|
||||
parallel_rows.append([job_id, workload, iteration] + record)
|
||||
for state in sorted(powerstate_report.state_stats):
|
||||
stats = powerstate_report.state_stats[state]
|
||||
powerstate_rows.append([job_id, workload, iteration, state] +
|
||||
['{:.3f}'.format(s if s is not None else 0)
|
||||
powerstate_rows.append([job_id, workload, iteration, state]
|
||||
+ ['{:.3f}'.format(s if s is not None else 0)
|
||||
for s in stats])
|
||||
|
||||
outpath = output.get_path('parallel-stats.csv')
|
||||
|
Reference in New Issue
Block a user