mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-10-30 22:54:18 +00: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
@@ -55,7 +55,7 @@ class Antutu(ApkUiautoWorkload):
|
||||
try:
|
||||
result = float(match.group(1))
|
||||
except ValueError:
|
||||
result = 'NaN' # pylint: disable=redefined-variable-type
|
||||
result = float('NaN')
|
||||
entry = regex.pattern.rsplit(None, 1)[0]
|
||||
context.add_metric(entry, result, lower_is_better=False)
|
||||
expected_results -= 1
|
||||
|
||||
Reference in New Issue
Block a user