--- a/PluginSelectionEncloser.py Sat Dec 23 15:48:59 2023 +0100 +++ b/PluginSelectionEncloser.py Sat Dec 23 18:14:27 2023 +0100 @@ -41,7 +41,7 @@ selectionEncloserPluginObject = None -def createSelectionEncloserPage(configDlg): +def createSelectionEncloserPage(configDlg): # noqa: U100 """ Module function to create the Selection Encloser configuration page. @@ -50,11 +50,12 @@ @return reference to the configuration page @rtype SelectionEncloserPage """ - global selectionEncloserPluginObject from SelectionEncloser.ConfigurationPage.SelectionEncloserPage import ( SelectionEncloserPage, ) + global selectionEncloserPluginObject + return SelectionEncloserPage(selectionEncloserPluginObject) @@ -395,4 +396,4 @@ # -# eflag: noqa = M801 +# eflag: noqa = M801, U200