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

Unified Diff: third_party/pylint.py

Issue 707353002: pylint: upgrade to 1.3.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 6 years, 1 month 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
Index: third_party/pylint.py
===================================================================
--- third_party/pylint.py (revision 292986)
+++ third_party/pylint.py (working copy)
@@ -16,7 +16,15 @@
Copyright (c) 2012 The Chromium Authors. All rights reserved.
"""
+import os
import sys
+
+# Add local modules to the search path.
+sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(
+ __file__)), 'logilab'))
M-A Ruel 2014/11/18 13:36:06 I see from logilab.<...> in the files, which files
vapier 2014/11/18 18:38:35 pylint imports astroid directly now
+sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(
+ __file__)), 'six'))
M-A Ruel 2014/11/18 13:36:06 This could be fixed by renaming six.py to __init__
vapier 2014/11/18 18:38:35 done
+
from pylint import lint
args = sys.argv[1:]

Powered by Google App Engine
This is Rietveld 408576698