--- a/src/eric7/Utilities/__init__.py Mon Feb 24 15:11:18 2025 +0100 +++ b/src/eric7/Utilities/__init__.py Mon Feb 24 15:43:49 2025 +0100 @@ -47,7 +47,7 @@ def __showwarning( - message, category, filename, lineno, file=None, line=None # noqa: U100 + message, category, filename, lineno, file=None, line=None # noqa: U-100 ): """ Module function to raise a SyntaxError for a SyntaxWarning. @@ -84,7 +84,7 @@ (1, re.compile(r"""<\?xml.*\bencoding\s*=\s*['"]([-\w_.]+)['"]\?>""")), ] -supportedCodecs = [ # noqa: U200 +supportedCodecs = [ # noqa: U-200 "utf-8", "iso-8859-1", "iso-8859-2", @@ -1065,13 +1065,13 @@ info.append(f" Qt {qVersion()}") info.append(f" PyQt6 {PYQT_VERSION_STR}") try: - from PyQt6 import QtCharts # noqa: I101, I102 + from PyQt6 import QtCharts # noqa: I-101, I-102 info.append(f" PyQt6-Charts {QtCharts.PYQT_CHART_VERSION_STR}") except (AttributeError, ImportError): info.append(" PyQt6-Charts not installed") try: - from PyQt6 import QtWebEngineCore # noqa: I101, I102 + from PyQt6 import QtWebEngineCore # noqa: I-101, I-102 info.append(f" PyQt6-WebEngine {QtWebEngineCore.PYQT_WEBENGINE_VERSION_STR}") except (AttributeError, ImportError): @@ -1079,7 +1079,7 @@ info.append(f" PyQt6-QScintilla {QSCINTILLA_VERSION_STR}") info.append(f" sip {sip_version_str}") if bool(importlib.util.find_spec("PyQt6.QtWebEngineCore")): - from eric7.WebBrowser.Tools import WebBrowserTools # noqa: I101 + from eric7.WebBrowser.Tools import WebBrowserTools # noqa: I-101 ( chromiumVersion,