mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 19:02:31 +01:00
Pylint Fixes
Update our version of pylint to use the latest version and update the codebase to comply with the majority of the updates. For now disable the additional checks for `super-with-arguments`, `useless-object-inheritance`, `raise-missing-from`, `no-else-raise`, `no-else-break`, `no-else-continue` to be consistent with the existing codebase.
This commit is contained in:
@@ -91,4 +91,4 @@ class Chrome(ApkUiautoWorkload):
|
||||
owner = self.target.execute("{} stat -c '%u' {}".format(self.target.busybox, offline_pages), as_root=True).strip()
|
||||
self.target.execute('{} tar -xvf {} -C {}'.format(self.target.busybox, archives_src, archives_dst), as_root=True)
|
||||
self.target.execute('{} cp {} {}'.format(self.target.busybox, metadata_src, metadata_dst), as_root=True)
|
||||
self.target.execute('{} chown -R {}:{} {}'.format(self.target.busybox, owner, owner, offline_pages), as_root=True)
|
||||
self.target.execute('{0} chown -R {1}:{1} {2}'.format(self.target.busybox, owner, offline_pages), as_root=True)
|
||||
|
@@ -257,7 +257,7 @@ class GBScoreCalculator(object):
|
||||
'memory': 0.1926489,
|
||||
'stream': 0.1054738,
|
||||
}
|
||||
# pylint: disable=C0326
|
||||
|
||||
workloads = [
|
||||
# ID Name Power Mac ST Power Mac MT
|
||||
GBWorkload(101, 'Blowfish', 43971, 40979), # NOQA
|
||||
|
@@ -109,4 +109,4 @@ class Gmail(ApkUiautoWorkload):
|
||||
owner = self.target.execute("{} stat -c '%u' {}".format(self.target.busybox, database_dst), as_root=True).strip()
|
||||
self.target.execute('{} rm {}'.format(self.target.busybox, existing_mailstores), as_root=True)
|
||||
self.target.execute('{} tar -xvf {} -C {}'.format(self.target.busybox, database_src, database_dst), as_root=True)
|
||||
self.target.execute('{} chown -R {}:{} {}'.format(self.target.busybox, owner, owner, database_dst), as_root=True)
|
||||
self.target.execute('{0} chown -R {1}:{1} {2}'.format(self.target.busybox, owner, database_dst), as_root=True)
|
||||
|
@@ -85,4 +85,4 @@ class GoogleMaps(ApkUiautoWorkload):
|
||||
owner = self.target.execute("{} stat -c '%u' {}".format(self.target.busybox, package_data_dir), as_root=True).strip()
|
||||
self.target.execute('{} tar -xvf {} -C {}'.format(self.target.busybox, databases_src, databases_dst), as_root=True)
|
||||
self.target.execute('{} tar -xvf {} -C {}'.format(self.target.busybox, files_src, files_dst), as_root=True)
|
||||
self.target.execute('{} chown -R {}:{} {}'.format(self.target.busybox, owner, owner, package_data_dir), as_root=True)
|
||||
self.target.execute('{0} chown -R {1}:{1} {2}'.format(self.target.busybox, owner, package_data_dir), as_root=True)
|
||||
|
Reference in New Issue
Block a user