--- a/PluginPrintRemover.py Sat Dec 23 15:48:58 2023 +0100 +++ b/PluginPrintRemover.py Sat Dec 23 18:10:24 2023 +0100 @@ -42,7 +42,7 @@ printRemoverPluginObject = None -def createPrintRemoverPage(configDlg): +def createPrintRemoverPage(configDlg): # noqa: U100 """ Module function to create the Print Remover configuration page. @@ -51,8 +51,9 @@ @return reference to the configuration page @rtype PrintRemoverPage """ + from PrintRemover.ConfigurationPage.PrintRemoverPage import PrintRemoverPage + global printRemoverPluginObject - from PrintRemover.ConfigurationPage.PrintRemoverPage import PrintRemoverPage return PrintRemoverPage(printRemoverPluginObject) @@ -358,4 +359,4 @@ # -# eflag: noqa = M801 +# eflag: noqa = M801, U200