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

Unified Diff: recipe_engine/lint_test.py

Issue 2848443003: [recipes.py] add missing helpstrings, merge test subcommands into main parser. (Closed)
Patch Set: rebase Created 3 years, 8 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
« no previous file with comments | « recipe_engine/fetch.py ('k') | recipe_engine/refs.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/lint_test.py
diff --git a/recipe_engine/lint_test.py b/recipe_engine/lint_test.py
index f71348e32b0b087a0698e53271b8be0df77b01dd..0df128066cb1ec91e1a272e3d34281f444d512fe 100755
--- a/recipe_engine/lint_test.py
+++ b/recipe_engine/lint_test.py
@@ -62,9 +62,11 @@ def ImportsTest(recipe_path, recipe_name, whitelist, universe_view):
def add_subparser(parser):
+ # TODO(iannucci): merge this with the test command, doesn't need to be top
+ # level.
+ helpstr = 'Check recipes for stylistic and hygenic issues.'
lint_p = parser.add_parser(
- 'lint',
- description='Check recipes for stylistic and hygenic issues')
+ 'lint', help=helpstr, description=helpstr)
lint_p.add_argument(
'--whitelist', '-w', action='append', default=[],
help='A regexp matching module names to add to the default whitelist. '
« no previous file with comments | « recipe_engine/fetch.py ('k') | recipe_engine/refs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698