PluginApis.py

branch
eric7
changeset 68
2311d81b8606
parent 67
4c73000666bd
child 69
67b7e2aaf0a9
diff -r 4c73000666bd -r 2311d81b8606 PluginApis.py
--- a/PluginApis.py	Sat Dec 23 15:48:43 2023 +0100
+++ b/PluginApis.py	Sat Dec 23 15:58:15 2023 +0100
@@ -36,8 +36,10 @@
     """
     Module function to return the API files made available by this plugin.
 
-    @param language language to get APIs for (string)
-    @return list of API filenames (list of string)
+    @param language language to get APIs for
+    @type str
+    @return list of API filenames
+    @rtype list of str
     """
     if language:
         apisDir = os.path.join(os.path.dirname(__file__), "APIs", language)
@@ -55,7 +57,8 @@
         """
         Constructor
 
-        @param ui reference to the user interface object (UI.UserInterface)
+        @param ui reference to the user interface object
+        @type UserInterface
         """
         super().__init__(ui)
         self.__ui = ui
@@ -64,7 +67,8 @@
         """
         Public method to activate this plugin.
 
-        @return tuple of None and activation status (boolean)
+        @return tuple of None and activation status
+        @rtype tuple of (None, bool)
         """
         return None, True
 
@@ -73,3 +77,6 @@
         Public method to deactivate this plugin.
         """
         pass
+
+#
+# eflag: noqa = U200

eric ide

mercurial