PluginSelectionEncloser.py

branch
eric7
changeset 61
4cd8dfb2c924
parent 60
44349feb5af7
child 62
5d418352a1bc
diff -r 44349feb5af7 -r 4cd8dfb2c924 PluginSelectionEncloser.py
--- 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

eric ide

mercurial