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

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

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/gtest/setup.py
diff --git a/build/android/pylib/gtest/setup.py b/build/android/pylib/gtest/setup.py
index f114c3cdde47cb9e14a5f870be65604aea31b545..19482999b8d84d87a5fd2a90297e691585009406 100644
--- a/build/android/pylib/gtest/setup.py
+++ b/build/android/pylib/gtest/setup.py
@@ -94,6 +94,7 @@ def _GetTests(test_options, test_package, devices):
'gtest_list_tests', base_test_result.ResultType.PASS)
self.test_list = []
+ # pylint: disable=unused-argument
def TestListerRunnerFactory(device, _shard_index):
class TestListerRunner(test_runner.TestRunner):
def RunTest(self, _test):
@@ -105,7 +106,7 @@ def _GetTests(test_options, test_package, devices):
return results, None
return TestListerRunner(test_options, device, test_package)
- results, _no_retry = test_dispatcher.RunTests(
+ results, _ = test_dispatcher.RunTests(
['gtest_list_tests'], TestListerRunnerFactory, devices)
tests = []
for r in results.GetAll():
@@ -204,6 +205,7 @@ def Setup(test_options, devices):
tests = _GetTests(test_options, test_package, devices)
# Constructs a new TestRunner with the current options.
+ # pylint: disable=unused-argument
def TestRunnerFactory(device, _shard_index):
return test_runner.TestRunner(
test_options,

Powered by Google App Engine
This is Rietveld 408576698