Index: build/android/pylib/perf/test_runner.py |
diff --git a/build/android/pylib/perf/test_runner.py b/build/android/pylib/perf/test_runner.py |
index 26e17addab54b1a622b1381d8baa698f19ee823b..38887f306014d39a530e6182c9d694b7ae256a97 100644 |
--- a/build/android/pylib/perf/test_runner.py |
+++ b/build/android/pylib/perf/test_runner.py |
@@ -74,6 +74,7 @@ _GIT_CR_POS_RE = re.compile(r'^Cr-Commit-Position: refs/heads/master@{#(\d+)}$') |
def _GetChromiumRevision(): |
+ # pylint: disable=line-too-long |
"""Get the git hash and commit position of the chromium master branch. |
See: https://chromium.googlesource.com/chromium/tools/build/+/master/scripts/slave/runtest.py#212 |
@@ -81,6 +82,7 @@ def _GetChromiumRevision(): |
Returns: |
A dictionary with 'revision' and 'commit_pos' keys. |
""" |
+ # pylint: enable=line-too-long |
status, output = cmd_helper.GetCmdStatusAndOutput( |
['git', 'log', '-n', '1', '--pretty=format:%H%n%B', 'HEAD'], |
constants.DIR_SOURCE_ROOT) |