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

Unified Diff: build/android/gyp/lint.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix appurify_sanitized import-errors 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
« no previous file with comments | « build/android/gyp/generate_v14_compatible_resources.py ('k') | build/android/incremental_install.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/lint.py
diff --git a/build/android/gyp/lint.py b/build/android/gyp/lint.py
index 6c4645abeabb3607108ed5d590d5dffc10e60013..1e1779c87eda2a2a362dd85f7bf124113fbdb5a8 100755
--- a/build/android/gyp/lint.py
+++ b/build/android/gyp/lint.py
@@ -127,7 +127,7 @@ def _RunLint(lint_path, config_path, processed_config_path, manifest_path,
else:
try:
num_issues = _ParseAndShowResultFile()
- except Exception:
+ except Exception: # pylint: disable=broad-except
print 'Lint created unparseable xml file...'
print 'File contents:'
with open(result_path) as f:
« no previous file with comments | « build/android/gyp/generate_v14_compatible_resources.py ('k') | build/android/incremental_install.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698