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

Unified Diff: build/android/gyp/lint.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/gyp/javac.py ('k') | build/android/gyp/process_resources.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 339d98fd6e4fe7d87c61b3fe145defb467b1dac1..5b4e0b73dd297e252c9cfc7a68ccc6006e34aad8 100755
--- a/build/android/gyp/lint.py
+++ b/build/android/gyp/lint.py
@@ -12,7 +12,7 @@ import os
import sys
from xml.dom import minidom
-from util import build_utils
+from util import build_utils # pylint: disable=F0401
_SRC_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__),
@@ -116,7 +116,7 @@ def _RunLint(lint_path, config_path, processed_config_path, manifest_path,
return 0
-def main(argv):
+def main():
parser = optparse.OptionParser()
parser.add_option('--lint-path', help='Path to lint executable.')
parser.add_option('--config-path', help='Path to lint suppressions file.')
@@ -156,4 +156,4 @@ def main(argv):
if __name__ == '__main__':
- sys.exit(main(sys.argv))
+ sys.exit(main())
« no previous file with comments | « build/android/gyp/javac.py ('k') | build/android/gyp/process_resources.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698