diff -r dee6e106b4d3 -r 15e30f0c76a8 src/eric7/SystemUtilities/PythonUtilities.py --- a/src/eric7/SystemUtilities/PythonUtilities.py Mon Feb 24 15:11:18 2025 +0100 +++ b/src/eric7/SystemUtilities/PythonUtilities.py Mon Feb 24 15:43:49 2025 +0100 @@ -166,9 +166,9 @@ @rtype list of str """ try: - import winreg # noqa: I101, I103 + import winreg # noqa: I-101, I-103 except ImportError: - import _winreg as winreg # noqa: I101, I102 + import _winreg as winreg # noqa: I-101, I-102 def getExePath(branch, access, versionStr): with contextlib.suppress(WindowsError, OSError):