--- a/src/eric7/Utilities/__init__.py Sun Feb 09 15:47:57 2025 +0100 +++ b/src/eric7/Utilities/__init__.py Sat Mar 01 15:52:40 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,21 +1065,21 @@ 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): info.append(" PyQt6-WebEngine not installed") info.append(f" PyQt6-QScintilla {QSCINTILLA_VERSION_STR}") info.append(f" sip {sip_version_str}") - if bool(importlib.util.find_spec("PyQt6.QtWebEngineWidgets")): - from eric7.WebBrowser.Tools import WebBrowserTools # noqa: I101 + if bool(importlib.util.find_spec("PyQt6.QtWebEngineCore")): + from eric7.WebBrowser.Tools import WebBrowserTools # noqa: I-101 ( chromiumVersion,