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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/formatter/fix_double_quote_strings.py

Issue 2256793002: Make docstrings more consistent using format-webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make indentation of final quote based on parse tree (indentation prior to docstring node) rather th… Created 4 years, 3 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/formatter/fix_double_quote_strings.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/formatter/fix_double_quote_strings.py b/third_party/WebKit/Tools/Scripts/webkitpy/formatter/fix_double_quote_strings.py
index 45f988d5ad9fa31468a20c412d211b8affdaa6e2..3167d9b0c5cfd2c2a46cda8340bff39c952d2ac7 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/formatter/fix_double_quote_strings.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/formatter/fix_double_quote_strings.py
@@ -2,13 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""
-A 2to3 fixer that converts all string literals to use double quotes.
+"""A 2to3 fixer that converts all string literals to use double quotes.
Strings that contain double quotes will not be modified. Prefixed string
literals will also not be modified. This affects both single-quoted strings
and triple-single-quoted strings.
-
"""
from lib2to3.fixer_base import BaseFix

Powered by Google App Engine
This is Rietveld 408576698