src/eric7/WebBrowser/WebBrowserView.py

branch
eric7
changeset 10683
779cda568acb
parent 10482
72d9b5ea39b4
child 10700
5746c020c598
--- a/src/eric7/WebBrowser/WebBrowserView.py	Tue Apr 16 15:47:11 2024 +0200
+++ b/src/eric7/WebBrowser/WebBrowserView.py	Sat Apr 20 18:01:36 2024 +0200
@@ -890,13 +890,13 @@
             self.__downloadMedia,
         )
 
-    def __createSelectedTextContextMenu(self, menu, hitTest):  # noqa: U100
+    def __createSelectedTextContextMenu(self, menu, _hitTest):
         """
         Private method to populate the context menu for selected text.
 
         @param menu reference to the menu to be populated
         @type QMenu
-        @param hitTest reference to the hit test object
+        @param _hitTest reference to the hit test object (unused)
         @type WebHitTestResult
         """
         from .OpenSearch.OpenSearchEngineAction import OpenSearchEngineAction
@@ -1818,13 +1818,13 @@
     ## Signal handlers below
     ###########################################################################
 
-    def __renderProcessTerminated(self, status, exitCode):  # noqa: U100
+    def __renderProcessTerminated(self, status, _exitCode):
         """
         Private slot handling a crash of the web page render process.
 
         @param status termination status
         @type QWebEnginePage.RenderProcessTerminationStatus
-        @param exitCode exit code of the process
+        @param _exitCode exit code of the process (unused)
         @type int
         """
         if (

eric ide

mercurial