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

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

Issue 153743008: Revert of Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merging with changes to pylib/linker/test_case.py. Created 6 years, 10 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
« no previous file with comments | « build/android/pylib/instrumentation/test_runner.py ('k') | build/android/pylib/linker/test_case.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/linker/setup.py
diff --git a/build/android/pylib/linker/setup.py b/build/android/pylib/linker/setup.py
index a863a0d8638b53c1d9b5d862a94c45b77724648a..a13ea4d78b27315311e126e31170d4aa79308e69 100644
--- a/build/android/pylib/linker/setup.py
+++ b/build/android/pylib/linker/setup.py
@@ -6,17 +6,19 @@
import os
import sys
+import types
+
+import test_case
+import test_runner
from pylib import constants
-from pylib.linker import test_case
-from pylib.linker import test_runner
sys.path.insert(0,
os.path.join(constants.DIR_SOURCE_ROOT, 'build', 'util', 'lib',
'common'))
-import unittest_util # pylint: disable=F0401
+import unittest_util
-def Setup(options, _devices):
+def Setup(options, devices):
"""Creates a list of test cases and a runner factory.
Returns:
@@ -37,7 +39,7 @@ def Setup(options, _devices):
all_tests = [t for t in all_tests \
if t.qualified_name in filtered_test_names]
- def TestRunnerFactory(device, _shard_index):
+ def TestRunnerFactory(device, shard_index):
return test_runner.LinkerTestRunner(
device, options.tool, options.push_deps,
options.cleanup_test_files)
« no previous file with comments | « build/android/pylib/instrumentation/test_runner.py ('k') | build/android/pylib/linker/test_case.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698