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

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

Issue 2256793002: Make docstrings more consistent using format-webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make fix_docstrings match function stricter and fix style/main.py. 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/style/filereader.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/filereader.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/filereader.py
index 9226dd81c4d566c227f923c100df4d0a4c28fd27..51d810d56bf6c6b142ded58bfa57cf85a7b67435 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/style/filereader.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/filereader.py
@@ -51,15 +51,13 @@ class TextFileReader(object):
processed this instance actually because
the files don't have any modified lines
but should be treated as processed.
-
- """
+ """
def __init__(self, filesystem, processor):
"""Create an instance.
Arguments:
processor: A ProcessorBase instance.
-
"""
# FIXME: Although TextFileReader requires a FileSystem it circumvents it in two places!
self.filesystem = filesystem
@@ -72,7 +70,6 @@ class TextFileReader(object):
Raises:
IOError: If the file does not exist or cannot be read.
-
"""
# Support the UNIX convention of using "-" for stdin.
if file_path == '-':
@@ -107,7 +104,6 @@ class TextFileReader(object):
Raises:
SystemExit: If no file at file_path exists.
-
"""
self.file_count += 1

Powered by Google App Engine
This is Rietveld 408576698