summaryrefslogtreecommitdiff
path: root/lib/commandline.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2013-12-12 01:50:59 -0500
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-12-13 01:13:48 +0000
commit1a736a878a49515ab2198e3cba66ad5162791f7c (patch)
tree432ffb3a935bdf94d5faa20f9d14206bdb8cbaa8 /lib/commandline.py
parent5b9551453b495666364a5c7b42562c7f68535a24 (diff)
downloadchromite-1a736a878a49515ab2198e3cba66ad5162791f7c.tar.gz
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>
Diffstat (limited to 'lib/commandline.py')
-rw-r--r--lib/commandline.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/commandline.py b/lib/commandline.py
index 899496301..757376dcd 100644
--- a/lib/commandline.py
+++ b/lib/commandline.py
@@ -237,9 +237,11 @@ class BaseParser(object):
"""Method called to handle post opts/args setup.
This can be anything from logging setup to positional arg count validation.
+
Args:
opts: optparse.Values instance
args: position arguments unconsumed from parsing.
+
Returns:
(opts, args), w/ whatever modification done.
"""