src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py

branch
eric7
changeset 10683
779cda568acb
parent 10679
4d3e0ce54322
child 10690
fab36645aa7d
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py	Tue Apr 16 15:47:11 2024 +0200
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py	Sat Apr 20 18:01:36 2024 +0200
@@ -272,9 +272,9 @@
         Mercurial controlled project. Therefore we always return TRUE without
         doing anything.
 
-        @param vcsDir name of the VCS directory
+        @param vcsDir name of the VCS directory (unused)
         @type str
-        @param noDialog flag indicating quiet operations
+        @param noDialog flag indicating quiet operations (unused)
         @type bool
         @return always True
         @rtype bool
@@ -317,7 +317,7 @@
         @type dict
         @param projectDir project directory
         @type str
-        @param noDialog flag indicating quiet operations
+        @param noDialog flag indicating quiet operations (unused)
         @type bool
         @param addAll flag indicating to add all files to the repository
         @type bool
@@ -638,7 +638,7 @@
         Public method used to update a file/directory with the Mercurial
         repository.
 
-        @param name file/directory name to be updated (not used)
+        @param name file/directory name to be updated (unused)
         @type str
         @param noDialog flag indicating quiet operations
         @type bool
@@ -672,7 +672,7 @@
 
         @param name file/directory name to be added
         @type str
-        @param isDir flag indicating name is a directory
+        @param isDir flag indicating name is a directory (unused)
         @type bool
         @param noDialog flag indicating quiet operations
         @type bool
@@ -726,7 +726,7 @@
 
         @param name file/directory name to be removed
         @type str or list of str
-        @param project flag indicating deletion of a project tree
+        @param project flag indicating deletion of a project tree (unused)
         @type bool
         @param noDialog flag indicating quiet operations
         @type bool
@@ -890,7 +890,7 @@
         """
         Public method used to set/remove a tag in the Mercurial repository.
 
-        @param name file/directory name to determine the repo root from
+        @param name file/directory name to determine the repo root from (unused)
         @type str
         @param revision revision to set tag for
         @type str
@@ -1000,7 +1000,7 @@
         """
         Public method used to merge a URL/revision into the local project.
 
-        @param name file/directory name to be merged
+        @param name file/directory name to be merged (unused)
         @type str
         @param rev revision to merge with
         @type str
@@ -1153,7 +1153,7 @@
         @type dict
         @param dname directory to check in
         @type str
-        @param shortcut flag indicating a shortcut should be taken
+        @param shortcut flag indicating a shortcut should be taken (unused)
         @type bool
         @return the received dictionary completed with the VCS state or None in
             order to signal an error
@@ -1283,16 +1283,16 @@
                 dia.exec()
 
     def vcsOptionsDialog(
-        self, project, archive, editable=False, parent=None  # noqa: U100
+        self, project, _archive, editable=False, parent=None  # noqa: U100
     ):
         """
         Public method to get a dialog to enter repository info.
 
         @param project reference to the project object
         @type Project
-        @param archive name of the project in the repository
+        @param _archive name of the project in the repository (unused)
         @type str
-        @param editable flag indicating that the project name is editable
+        @param editable flag indicating that the project name is editable (unused)
         @type bool
         @param parent parent widget
         @type QWidget
@@ -1317,11 +1317,11 @@
 
         return HgNewProjectOptionsDialog(self, parent)
 
-    def vcsRepositoryInfos(self, ppath):  # noqa: U100
+    def vcsRepositoryInfos(self, _ppath):
         """
         Public method to retrieve information about the repository.
 
-        @param ppath local path to get the repository infos
+        @param _ppath local path to get the repository infos (unused)
         @type str
         @return string with ready formated info for display
         @rtype str

eric ide

mercurial