--- 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