eric6/Plugins/PluginEricdoc.py

changeset 7256
4ef3b78ebb4e
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/Plugins/PluginEricdoc.py	Sat Sep 21 18:30:02 2019 +0200
+++ b/eric6/Plugins/PluginEricdoc.py	Sat Sep 21 20:30:56 2019 +0200
@@ -31,9 +31,11 @@
 className = "EricdocPlugin"
 packageName = "__core__"
 shortDescription = "Show the Ericdoc dialogs."
-longDescription = """This plugin implements the Ericdoc dialogs.""" \
-    """ Ericdoc is used to generate a source code documentation""" \
+longDescription = (
+    """This plugin implements the Ericdoc dialogs."""
+    """ Ericdoc is used to generate a source code documentation"""
     """ for Python and Ruby projects."""
+)
 pyqtApi = 2
 # End-Of-Header
 
@@ -140,11 +142,10 @@
         """
         menu = e5App().getObject("Project").getMenu("Apidoc")
         if menu:
-            self.__projectAct = \
-                E5Action(
-                    self.tr('Generate documentation (eric6_doc)'),
-                    self.tr('Generate &documentation (eric6_doc)'), 0, 0,
-                    self, 'doc_eric6_doc')
+            self.__projectAct = E5Action(
+                self.tr('Generate documentation (eric6_doc)'),
+                self.tr('Generate &documentation (eric6_doc)'), 0, 0,
+                self, 'doc_eric6_doc')
             self.__projectAct.setStatusTip(
                 self.tr('Generate API documentation using eric6_doc'))
             self.__projectAct.setWhatsThis(self.tr(
@@ -190,8 +191,9 @@
         """
         Private slot to perform the eric6_doc api documentation generation.
         """
-        from DocumentationPlugins.Ericdoc.EricdocConfigDialog import \
+        from DocumentationPlugins.Ericdoc.EricdocConfigDialog import (
             EricdocConfigDialog
+        )
         eolTranslation = {
             '\r': 'cr',
             '\n': 'lf',
@@ -210,8 +212,9 @@
                     "--eol={0}".format(eolTranslation[project.getEolString()]))
             
             # now do the call
-            from DocumentationPlugins.Ericdoc.EricdocExecDialog import \
+            from DocumentationPlugins.Ericdoc.EricdocExecDialog import (
                 EricdocExecDialog
+            )
             dia = EricdocExecDialog("Ericdoc")
             res = dia.start(args, project.ppath)
             if res:

eric ide

mercurial