toolchain-utils: fix docstring-leading-whitespace lint warnings.
BUG=chromium:570458
TEST='crosperf/run_tests.sh' passes.
Change-Id: I5f8cb5a89faa8d7f17d7b20a2198317a6f89b6d1
Reviewed-on: https://chrome-internal-review.googlesource.com/243455
Commit-Ready: Rahul Chaudhry <rahulchaudhry@google.com>
Tested-by: Rahul Chaudhry <rahulchaudhry@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
diff --git a/crosperf/suite_runner.py b/crosperf/suite_runner.py
index b76f85e..ae502bd 100644
--- a/crosperf/suite_runner.py
+++ b/crosperf/suite_runner.py
@@ -42,8 +42,7 @@
class SuiteRunner(object):
- """ This defines the interface from crosperf to test script.
- """
+ """This defines the interface from crosperf to test script."""
def __init__(self,
logger_to_use=None,
@@ -82,8 +81,7 @@
return ret_tup
def GetHighestStaticFrequency(self, machine_name, chromeos_root):
- """ Gets the highest static frequency for the specified machine
- """
+ """Gets the highest static frequency for the specified machine."""
get_avail_freqs = ('cd /sys/devices/system/cpu/cpu0/cpufreq/; '
'if [[ -e scaling_available_frequencies ]]; then '
' cat scaling_available_frequencies; '
@@ -112,8 +110,7 @@
return freqs[0]
def PinGovernorExecutionFrequencies(self, machine_name, chromeos_root):
- """ Set min and max frequencies to max static frequency
- """
+ """Set min and max frequencies to max static frequency."""
highest_freq = self.GetHighestStaticFrequency(machine_name, chromeos_root)
BASH_FOR = 'for f in {list}; do {body}; done'
CPUFREQ_DIRS = '/sys/devices/system/cpu/cpu*/cpufreq/'