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

Unified Diff: build/android/PRESUBMIT.py

Issue 132463007: Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move disables into modules. 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
« no previous file with comments | « no previous file | build/android/adb_logcat_monitor.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/PRESUBMIT.py
diff --git a/build/android/PRESUBMIT.py b/build/android/PRESUBMIT.py
index d8e5ae34bb4e1d4a53f8e67b01c262a653f369af..8561cbd50fb8ccd109d54f126fb0583de7d27ef4 100644
--- a/build/android/PRESUBMIT.py
+++ b/build/android/PRESUBMIT.py
@@ -38,7 +38,9 @@ def CommonChecks(input_api, output_api):
output.extend(input_api.canned_checks.RunPylint(
input_api,
output_api,
- white_list=[r'PRESUBMIT\.py$', r'buildbot/.*\.py$'],
+ white_list=[r'.*\.py$'],
+ black_list=[r'pylib/android_commands\.py$'],
frankf 2014/02/03 21:49:30 could you also do this in the code?
jbudorick 2014/02/03 21:53:52 Yes, but ignoring files is kind of the point of th
+ disabled_warnings=['F0401'],
frankf 2014/02/03 21:49:30 why disable this?
jbudorick 2014/02/03 21:53:52 It doesn't seem to work correctly.
extra_paths_list=[
J(), J('..', '..', 'third_party', 'android_testrunner'),
J('buildbot')]))
« no previous file with comments | « no previous file | build/android/adb_logcat_monitor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698