scripts/install.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9485
0f3620304d7a
diff -r 0b936ff1bbb9 -r a2bc06a54d9d scripts/install.py
--- a/scripts/install.py	Sun Nov 06 11:22:39 2022 +0100
+++ b/scripts/install.py	Mon Nov 07 17:19:58 2022 +0100
@@ -13,6 +13,7 @@
 import contextlib
 import datetime
 import fnmatch
+import getopt
 import getpass
 import glob
 import io
@@ -1965,7 +1966,7 @@
     @rtype any
     """
     try:
-        import winreg
+        import winreg  # __IGNORE_WARNING_I103__
     except ImportError:
         return None
 
@@ -2074,8 +2075,6 @@
     @param argv list of command line arguments
     @type list of str
     """
-    import getopt
-
     # Parse the command line.
     global progName, modDir, doCleanup, doCompile, distDir, cfg, apisDir
     global sourceDir, eric7SourceDir, configName
@@ -2317,4 +2316,4 @@
         raise
 
 #
-# eflag: noqa = M801
+# eflag: noqa = M801, I101, I102

eric ide

mercurial