--- a/src/eric7/Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py Tue Apr 16 15:47:11 2024 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py Sat Apr 20 18:01:36 2024 +0200 @@ -60,14 +60,14 @@ name, ) - def showContextMenu(self, menu, standardItems): # noqa: U100 + def showContextMenu(self, _menu, standardItems): """ Public slot called before the context menu is shown. It enables/disables the VCS menu entries depending on the overall VCS status and the file status. - @param menu reference to the menu to be shown + @param _menu reference to the menu to be shown (unused) @type QMenu @param standardItems array of standard items that need activation/deactivation depending on the overall VCS status @@ -97,7 +97,7 @@ for act in standardItems: act.setEnabled(True) - def showContextMenuMulti(self, menu, standardItems): # noqa: U100 + def showContextMenuMulti(self, _menu, standardItems): """ Public slot called before the context menu (multiple selections) is shown. @@ -105,7 +105,7 @@ It enables/disables the VCS menu entries depending on the overall VCS status and the files status. - @param menu reference to the menu to be shown + @param _menu reference to the menu to be shown (unused) @type QMenu @param standardItems array of standard items that need activation/deactivation depending on the overall VCS status @@ -140,14 +140,14 @@ for act in standardItems: act.setEnabled(True) - def showContextMenuDir(self, menu, standardItems): # noqa: U100 + def showContextMenuDir(self, _menu, standardItems): """ Public slot called before the context menu is shown. It enables/disables the VCS menu entries depending on the overall VCS status and the directory status. - @param menu reference to the menu to be shown + @param _menu reference to the menu to be shown (unused) @type QMenu @param standardItems array of standard items that need activation/deactivation depending on the overall VCS status @@ -168,14 +168,14 @@ for act in standardItems: act.setEnabled(True) - def showContextMenuDirMulti(self, menu, standardItems): # noqa: U100 + def showContextMenuDirMulti(self, _menu, standardItems): """ Public slot called before the context menu is shown. It enables/disables the VCS menu entries depending on the overall VCS status and the directory status. - @param menu reference to the menu to be shown + @param _menu reference to the menu to be shown (unused) @type QMenu @param standardItems array of standard items that need activation/deactivation depending on the overall VCS status