Index: build/android/PRESUBMIT.py |
diff --git a/build/android/PRESUBMIT.py b/build/android/PRESUBMIT.py |
index 85a1eda20d83b42f7c2bdf734a40f4616db06272..d8e5ae34bb4e1d4a53f8e67b01c262a653f369af 100644 |
--- a/build/android/PRESUBMIT.py |
+++ b/build/android/PRESUBMIT.py |
@@ -35,13 +35,10 @@ def CommonChecks(input_api, output_api): |
"""Returns a path relative to presubmit directory.""" |
return input_api.os_path.join(input_api.PresubmitLocalPath(), *dirs) |
- # F0401 is issued when pylint can't import a module, but it doesn't seem to |
- # work correctly on our scripts. |
output.extend(input_api.canned_checks.RunPylint( |
input_api, |
output_api, |
- white_list=[r'.*\.py$'], |
- black_list=[r'pylib/android_commands\.py$'], |
+ white_list=[r'PRESUBMIT\.py$', r'buildbot/.*\.py$'], |
extra_paths_list=[ |
J(), J('..', '..', 'third_party', 'android_testrunner'), |
J('buildbot')])) |