src/eric7/UI/UserInterface.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11096
ac83f4d83f23
child 11149
fc45672fae42
diff -r dee6e106b4d3 -r 15e30f0c76a8 src/eric7/UI/UserInterface.py
--- a/src/eric7/UI/UserInterface.py	Mon Feb 24 15:11:18 2025 +0100
+++ b/src/eric7/UI/UserInterface.py	Mon Feb 24 15:43:49 2025 +0100
@@ -338,7 +338,7 @@
         )
 
         with contextlib.suppress(ImportError, AttributeError):
-            from eric7.EricWidgets.EricSpellCheckedTextEdit import (  # noqa: I101
+            from eric7.EricWidgets.EricSpellCheckedTextEdit import (  # noqa: I-101
                 SpellCheckMixin,
             )
 
@@ -850,7 +850,7 @@
         if Preferences.getUI("ShowTemplateViewer"):
             # Create the template viewer part of the user interface
             logging.getLogger(__name__).debug("Creating Template Viewer...")
-            from eric7.Templates.TemplateViewer import TemplateViewer  # noqa: I101
+            from eric7.Templates.TemplateViewer import TemplateViewer  # noqa: I-101
 
             self.templateViewer = TemplateViewer(None, self.viewmanager)
         else:
@@ -860,7 +860,7 @@
         if Preferences.getUI("ShowFileBrowser"):
             # Create the file browser
             logging.getLogger(__name__).debug("Creating File Browser...")
-            from .Browser import Browser  # noqa: I101
+            from .Browser import Browser  # noqa: I-101
 
             self.browser = Browser(self.__ericServerInterface)
         else:
@@ -870,7 +870,7 @@
         if Preferences.getUI("ShowSymbolsViewer"):
             # Create the symbols viewer
             logging.getLogger(__name__).debug("Creating Symbols Viewer...")
-            from .SymbolsWidget import SymbolsWidget  # noqa: I101
+            from .SymbolsWidget import SymbolsWidget  # noqa: I-101
 
             self.symbolsViewer = SymbolsWidget()
         else:
@@ -880,7 +880,7 @@
         if Preferences.getUI("ShowCodeDocumentationViewer"):
             # Create the code documentation viewer
             logging.getLogger(__name__).debug("Creating Code Documentation Viewer...")
-            from .CodeDocumentationViewer import CodeDocumentationViewer  # noqa: I101
+            from .CodeDocumentationViewer import CodeDocumentationViewer  # noqa: I-101
 
             self.codeDocumentationViewer = CodeDocumentationViewer(self)
         else:
@@ -890,7 +890,7 @@
         if Preferences.getUI("ShowPyPIPackageManager"):
             # Create the PyPI package manager
             logging.getLogger(__name__).debug("Creating PyPI Package Manager...")
-            from eric7.PipInterface.PipPackagesWidget import (  # noqa: I101
+            from eric7.PipInterface.PipPackagesWidget import (  # noqa: I-101
                 PipPackagesWidget,
             )
 
@@ -902,7 +902,7 @@
         if Preferences.getUI("ShowCondaPackageManager"):
             # Create the conda package manager
             logging.getLogger(__name__).debug("Creating Conda Package Manager...")
-            from eric7.CondaInterface.CondaPackagesWidget import (  # noqa: I101
+            from eric7.CondaInterface.CondaPackagesWidget import (  # noqa: I-101
                 CondaPackagesWidget,
             )
 
@@ -914,7 +914,7 @@
         if Preferences.getUI("ShowCooperation"):
             # Create the chat part of the user interface
             logging.getLogger(__name__).debug("Creating Chat Widget...")
-            from eric7.Cooperation.ChatWidget import ChatWidget  # noqa: I101
+            from eric7.Cooperation.ChatWidget import ChatWidget  # noqa: I-101
 
             self.cooperation = ChatWidget(self)
         else:
@@ -924,7 +924,7 @@
         if Preferences.getUI("ShowIrc"):
             # Create the IRC part of the user interface
             logging.getLogger(__name__).debug("Creating IRC Widget...")
-            from eric7.Network.IRC.IrcWidget import IrcWidget  # noqa: I101
+            from eric7.Network.IRC.IrcWidget import IrcWidget  # noqa: I-101
 
             self.irc = IrcWidget(self)
         else:
@@ -934,7 +934,7 @@
         if Preferences.getUI("ShowMicroPython"):
             # Create the MicroPython part of the user interface
             logging.getLogger(__name__).debug("Creating MicroPython Widget...")
-            from eric7.MicroPython.MicroPythonWidget import (  # noqa: I101
+            from eric7.MicroPython.MicroPythonWidget import (  # noqa: I-101
                 MicroPythonWidget,
             )
 
@@ -946,7 +946,7 @@
         if Preferences.getUI("ShowNumbersViewer"):
             # Create the numbers viewer
             logging.getLogger(__name__).debug("Creating Numbers Viewer...")
-            from .NumbersWidget import NumbersWidget  # noqa: I101
+            from .NumbersWidget import NumbersWidget  # noqa: I-101
 
             self.numbersViewer = NumbersWidget()
         else:
@@ -976,7 +976,7 @@
         self.__replaceFileDialog = None
         if Preferences.getUI("ShowFindFileWidget"):
             # Create the find in files widget
-            from .FindFileWidget import FindFileWidget  # noqa: I101
+            from .FindFileWidget import FindFileWidget  # noqa: I-101
 
             logging.getLogger(__name__).debug("Creating Find/Replace Pane...")
             self.__findFileWidget = FindFileWidget(self.project, self)
@@ -994,7 +994,7 @@
         self.__findLocationDialog = None
         if Preferences.getUI("ShowFindLocationWidget"):
             # Create the find location (file) widget
-            from .FindLocationWidget import FindLocationWidget  # noqa: I101
+            from .FindLocationWidget import FindLocationWidget  # noqa: I-101
 
             logging.getLogger(__name__).debug("Creating Find File Pane...")
             self.__findLocationWidget = FindLocationWidget(self.project, self)
@@ -1021,7 +1021,7 @@
         ):
             # Create the embedded help viewer
             logging.getLogger(__name__).debug("Creating Internal Help Viewer...")
-            from eric7.HelpViewer.HelpViewerWidget import HelpViewerWidget  # noqa: I101
+            from eric7.HelpViewer.HelpViewerWidget import HelpViewerWidget  # noqa:I-101
 
             self.__helpViewerWidget = HelpViewerWidget(self)
         else:
@@ -4630,14 +4630,14 @@
         # PyQt versions
         versionInfo.append(f"<tr><td><b>PyQt6</b></td><td>{PYQT_VERSION_STR}</td></tr>")
         with contextlib.suppress(ImportError, AttributeError):
-            from PyQt6 import QtCharts  # __IGNORE_WARNING_I10__
+            from PyQt6 import QtCharts  # __IGNORE_WARNING_I-10__
 
             versionInfo.append(
                 "<tr><td><b>PyQt6-Charts</b></td>"
                 f"<td>{QtCharts.PYQT_CHART_VERSION_STR}</td></tr>"
             )
         with contextlib.suppress(ImportError, AttributeError):
-            from PyQt6 import QtWebEngineCore  # __IGNORE_WARNING_I10__
+            from PyQt6 import QtWebEngineCore  # __IGNORE_WARNING_I-10__
 
             versionInfo.append(
                 "<tr><td><b>PyQt6-WebEngine</b></td>"
@@ -4653,7 +4653,7 @@
 
         # webengine (chromium) version
         with contextlib.suppress(ImportError):
-            from eric7.WebBrowser.Tools import (  # __IGNORE_WARNING_I101__
+            from eric7.WebBrowser.Tools import (  # __IGNORE_WARNING_I-101__
                 WebBrowserTools,
             )
 
@@ -7455,7 +7455,7 @@
         )
 
         with contextlib.suppress(ImportError, AttributeError):
-            from eric7.EricWidgets.EricSpellCheckedTextEdit import (  # noqa: I101
+            from eric7.EricWidgets.EricSpellCheckedTextEdit import (  # noqa: I-101
                 SpellCheckMixin,
             )
 
@@ -7505,7 +7505,7 @@
         Preferences.convertPasswords(oldPassword, newPassword)
         variant = Globals.getWebBrowserSupport()
         if variant == "QtWebEngine":
-            from eric7.WebBrowser.Passwords.PasswordManager import (  # noqa: I101
+            from eric7.WebBrowser.Passwords.PasswordManager import (  # noqa: I-101
                 PasswordManager,
             )
 

eric ide

mercurial