lint: clean up section names in docstrings
Make sure:
- correct ordering
- correct name usage
- new lines before each section
Maybe one or two other random fixes too like whitespace alignment.
BUG=chromium:327969
TEST=`cros lint` doesn't complain as much
TEST=`./buildbot/run_tests` passes
Change-Id: Ia57f06d5c0709103b2373568989d03d8fbaceeb5
Reviewed-on: https://chromium-review.googlesource.com/179802
Reviewed-by: Matt Tennant <mtennant@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/scripts/cbuildbot.py b/scripts/cbuildbot.py
index 0396885..1639473 100644
--- a/scripts/cbuildbot.py
+++ b/scripts/cbuildbot.py
@@ -188,6 +188,7 @@
stage: A BuilderStage class.
args: args to pass to stage constructor.
kwargs: kwargs to pass to stage constructor.
+
Returns:
Whatever the stage's Run method returns.
"""
@@ -603,8 +604,9 @@
def GetCompletionInstance(self):
"""Returns the completion_stage_class instance that was used for this build.
- Returns None if the completion_stage instance was not yet created (this
- occurs during Publish).
+ Returns:
+ None if the completion_stage instance was not yet created (this
+ occurs during Publish).
"""
return self._completion_stage