PluginPipxInterface.py

changeset 15
2fb8d19c38ae
parent 7
9a98f7260372
child 17
8c52c75a860c
diff -r 12413552ae0d -r 2fb8d19c38ae PluginPipxInterface.py
--- a/PluginPipxInterface.py	Fri Jun 28 16:25:21 2024 +0200
+++ b/PluginPipxInterface.py	Fri Jun 28 16:36:46 2024 +0200
@@ -94,8 +94,9 @@
     @return reference to the configuration page
     @rtype AutoCompletionRopePage
     """
+    from PipxInterface.ConfigurationPage.PipxPage import PipxPage  # noqa: I102
+
     global pipxInterfacePluginObject
-    from PipxInterface.ConfigurationPage.PipxPage import PipxPage  # noqa: I101
 
     page = PipxPage(pipxInterfacePluginObject)
     return page
@@ -168,12 +169,12 @@
         @return tuple of None and activation status
         @rtype bool
         """
+        from PipxInterface.PipxWidget import PipxWidget  # noqa: I102
+
         global error, pipxInterfacePluginObject
         error = ""  # clear previous error
         pipxInterfacePluginObject = self
 
-        from PipxInterface.PipxWidget import PipxWidget
-
         self.__widget = PipxWidget(self, fromEric=True)
         iconName = "pipx96" if self.__ui.getLayoutType() == "Sidebars" else "pipx22"
         self.__ui.addSideWidget(

eric ide

mercurial