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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py

Issue 2496063002: Rename WebKitFinder -> BlinkFinder. (Closed)
Patch Set: Created 4 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/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py
index 5f5de3eb735c4d96a80c4b42b835429812767022..baee64e39dc2d01de8beb139b32d9a1f8ab12b76 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py
@@ -29,7 +29,7 @@ import sys
from webkitpy.common.system.filesystem import FileSystem
from webkitpy.common.system.executive import Executive
-from webkitpy.common.webkit_finder import WebKitFinder
+from webkitpy.common.blink_finder import BlinkFinder
from webkitpy.thirdparty import pep8
@@ -72,14 +72,14 @@ class PythonChecker(object):
self._handle_style_error(line_number, category, 5, message)
def run_pylint(self, path):
- wkf = WebKitFinder(FileSystem())
+ wkf = BlinkFinder(FileSystem())
executive = Executive()
env = os.environ.copy()
env['PYTHONPATH'] = os.pathsep.join([
- wkf.path_from_webkit_base('Tools', 'Scripts'),
- wkf.path_from_webkit_base('Source', 'build', 'scripts'),
- wkf.path_from_webkit_base('Tools', 'Scripts', 'webkitpy', 'thirdparty'),
- wkf.path_from_webkit_base('Source', 'bindings', 'scripts'),
+ wkf.path_from_blink_base('Tools', 'Scripts'),
+ wkf.path_from_blink_base('Source', 'build', 'scripts'),
+ wkf.path_from_blink_base('Tools', 'Scripts', 'webkitpy', 'thirdparty'),
+ wkf.path_from_blink_base('Source', 'bindings', 'scripts'),
wkf.path_from_chromium_base('build', 'android'),
wkf.path_from_chromium_base('third_party', 'catapult', 'devil'),
wkf.path_from_chromium_base('third_party', 'pymock'),
@@ -88,7 +88,7 @@ class PythonChecker(object):
sys.executable,
wkf.path_from_depot_tools_base('pylint.py'),
'--output-format=parseable',
- '--rcfile=' + wkf.path_from_webkit_base('Tools', 'Scripts', 'webkitpy', 'pylintrc'),
+ '--rcfile=' + wkf.path_from_blink_base('Tools', 'Scripts', 'webkitpy', 'pylintrc'),
path,
], env=env, error_handler=executive.ignore_error)

Powered by Google App Engine
This is Rietveld 408576698