--- a/src/eric7/Plugins/VcsPlugins/vcsGit/ProjectBrowserHelper.py Tue Apr 16 15:47:11 2024 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/ProjectBrowserHelper.py Sat Apr 20 18:01:36 2024 +0200 @@ -59,14 +59,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 @@ -85,7 +85,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. @@ -93,7 +93,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 @@ -122,14 +122,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 @@ -146,14 +146,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