Bug 1390693 - Indent code to make linter happy; r?dustin draft
authorGregory Szorc <gps@mozilla.com>
Thu, 24 Aug 2017 10:11:55 -0700
changeset 652428 47a570bd7cd1a1315f7d30051d87c2cc2d537548
parent 652427 92e55826d01898b2f55a444fd4d5328aeacc3a42
child 652429 8b10c11e19d9ffe29ae030c2201cb6626ca449e7
push id76055
push usergszorc@mozilla.com
push dateThu, 24 Aug 2017 20:42:35 +0000
reviewersdustin
bugs1390693
milestone57.0a1
Bug 1390693 - Indent code to make linter happy; r?dustin I didn't fix all violations in this file. Something is better than nothing. MozReview-Commit-ID: BDdWhJfkPVk
tools/docs/mach_commands.py
--- a/tools/docs/mach_commands.py
+++ b/tools/docs/mach_commands.py
@@ -18,27 +18,29 @@ import mozhttpd
 from mozbuild.base import MachCommandBase
 
 
 @CommandProvider
 class Documentation(MachCommandBase):
     """Helps manage in-tree documentation."""
 
     @Command('doc', category='devenv',
-        description='Generate and display documentation from the tree.')
+             description='Generate and display documentation from the tree.')
     @CommandArgument('what', nargs='*', metavar='DIRECTORY [, DIRECTORY]',
-        help='Path(s) to documentation to build and display.')
+                     help='Path(s) to documentation to build and display.')
     @CommandArgument('--format', default='html',
-        help='Documentation format to write.')
+                     help='Documentation format to write.')
     @CommandArgument('--outdir', default=None, metavar='DESTINATION',
-        help='Where to write output.')
-    @CommandArgument('--no-open', dest='auto_open', default=True, action='store_false',
-        help="Don't automatically open HTML docs in a browser.")
+                     help='Where to write output.')
+    @CommandArgument('--no-open', dest='auto_open', default=True,
+                     action='store_false',
+                     help="Don't automatically open HTML docs in a browser.")
     @CommandArgument('--http', const=':6666', metavar='ADDRESS', nargs='?',
-        help='Serve documentation on an HTTP server, e.g. ":6666".')
+                     help='Serve documentation on an HTTP server, '
+                          'e.g. ":6666".')
     def build_docs(self, what=None, format=None, outdir=None, auto_open=True, http=None):
         self._activate_virtualenv()
         self.virtualenv_manager.install_pip_package('sphinx_rtd_theme==0.1.6')
 
         import sphinx
         import webbrowser
 
         if not outdir: