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

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

Issue 1839193004: Run auto-formatter (autopep8) on webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/style/main.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/main.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/main.py
index 574368a3edbb6fe2cc729df0d59003c7f89adae3..e6c88d8e80c1cc8bbe9125eae7d020c43ad12837 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/style/main.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/main.py
@@ -76,7 +76,7 @@ def change_directory(filesystem, checkout_root, paths):
# current working directory, and do not change the current
# working directory.
_log.warn(
-"""Path-dependent style checks may not work correctly:
+ """Path-dependent style checks may not work correctly:
One of the given paths is outside the WebKit checkout of the current
working directory:
@@ -87,7 +87,7 @@ def change_directory(filesystem, checkout_root, paths):
Pass only files below the checkout root to ensure correct results.
See the help documentation for more info.
"""
- % (path, checkout_root))
+ % (path, checkout_root))
return paths
rel_paths.append(rel_path)
@@ -101,6 +101,7 @@ def change_directory(filesystem, checkout_root, paths):
class CheckWebKitStyle(object):
+
def _engage_awesome_stderr_hacks(self):
# Change stderr to write with replacement characters so we don't die
# if we try to print something containing non-ASCII characters.

Powered by Google App Engine
This is Rietveld 408576698