--- 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(