PluginPrintRemover.py

branch
eric7
changeset 69
ed8361e82ca1
parent 68
9f9a276b23a5
child 70
40e98b382639
--- 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

eric ide

mercurial