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

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

Issue 132463007: Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase vs tot and only disabling F0401 in specific spots 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/lighttpd_server.py ('k') | build/android/pylib/android_commands.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/lint/suppress.py
diff --git a/build/android/lint/suppress.py b/build/android/lint/suppress.py
index 9664ffda6652e42cbc5edc6b6ba51e10f50b67b7..52d7579b964bc3a8c852541850f1477c6b363ab6 100755
--- a/build/android/lint/suppress.py
+++ b/build/android/lint/suppress.py
@@ -101,7 +101,7 @@ def _Suppress(config_path, result_path):
_WriteConfigFile(config_path, issues_dict)
-def main(argv):
+def main():
parser = optparse.OptionParser(usage='%prog RESULT-FILE')
_, args = parser.parse_args()
@@ -112,4 +112,4 @@ def main(argv):
if __name__ == '__main__':
- main(sys.argv)
+ main()
« no previous file with comments | « build/android/lighttpd_server.py ('k') | build/android/pylib/android_commands.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698