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/cros_setup_toolchains.py b/scripts/cros_setup_toolchains.py
index a6ddb0a..dce7e50 100644
--- a/scripts/cros_setup_toolchains.py
+++ b/scripts/cros_setup_toolchains.py
@@ -488,6 +488,7 @@
Args:
targets_wanted: The targets specified by the user.
+
Returns:
Full list of tuples with pseudo targets removed.
"""
@@ -605,6 +606,7 @@
Args:
elf: The file to check
+
Returns:
True if we think |elf| is a native ELF
"""
@@ -631,6 +633,7 @@
Args:
ptype: A string describing the path type (i.e. 'file' or 'dir' or 'sym')
path: The full path to inspect
+
Returns:
True if we want to include this path in the package
"""
@@ -646,6 +649,7 @@
Args:
path: The symlink to read
root: The path to use for resolving absolute symlinks
+
Returns:
A fully resolved symlink path
"""
@@ -662,6 +666,7 @@
Args:
target: The toolchain target name
root: The root path to pull all packages from
+
Returns:
A tuple of a set of all packable paths, and a set of all paths which
are also native ELFs
@@ -784,6 +789,7 @@
Args:
envd: The env.d file to load (may be a glob path)
var: The var to extract
+
Returns:
The value of |var|
"""