Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: build/android/pylib/perf/setup.py

Issue 132463007: Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/android/pylib/perf/setup.py
diff --git a/build/android/pylib/perf/setup.py b/build/android/pylib/perf/setup.py
index 0d07c961c470369a5e964d3034ea5766e31fb79e..9ee87dfb903bd370e7ac994e363415f8b6ee0345 100644
--- a/build/android/pylib/perf/setup.py
+++ b/build/android/pylib/perf/setup.py
@@ -6,18 +6,14 @@
import json
import fnmatch
-import logging
import os
-import psutil
-import signal
import shutil
-import time
from pylib import constants
from pylib import forwarder
from pylib.utils import test_environment
-import test_runner
+from . import test_runner
def Setup(test_options):
@@ -64,7 +60,7 @@ def Setup(test_options):
with file(test_options.flaky_steps, 'r') as f:
flaky_steps = json.load(f)
- def TestRunnerFactory(device, shard_index):
+ def TestRunnerFactory(device, _shard_index):
return test_runner.TestRunner(
test_options, device, tests_dict, flaky_steps)

Powered by Google App Engine
This is Rietveld 408576698