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

Unified Diff: build/android/findbugs_diff.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/bb_run_sharded_steps.py ('k') | build/android/generate_emma_html.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/findbugs_diff.py
diff --git a/build/android/findbugs_diff.py b/build/android/findbugs_diff.py
index eb117da36cfe02ccca20efa2c4316e4f477cab00..28224f1a3871c59dfe53e58c25a7140bc781834d 100755
--- a/build/android/findbugs_diff.py
+++ b/build/android/findbugs_diff.py
@@ -24,7 +24,6 @@ Run
"""
-import optparse
import os
import sys
@@ -32,7 +31,7 @@ from pylib import constants
from pylib.utils import findbugs
-def main(argv):
+def main():
parser = findbugs.GetCommonParser()
options, _ = parser.parse_args()
@@ -47,4 +46,4 @@ def main(argv):
if __name__ == '__main__':
- sys.exit(main(sys.argv))
+ sys.exit(main())
« no previous file with comments | « build/android/bb_run_sharded_steps.py ('k') | build/android/generate_emma_html.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698