src/eric7/Plugins/VcsPlugins/vcsGit/git.py

branch
eric7
changeset 10069
435cc5875135
parent 9972
68ac01294544
child 10403
ea3320d5e8e9
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/git.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/git.py	Thu May 25 19:51:47 2023 +0200
@@ -216,7 +216,7 @@
 
         return False, errMsg
 
-    def vcsInit(self, vcsDir, noDialog=False):
+    def vcsInit(self, vcsDir, noDialog=False):  # noqa: U100
         """
         Public method used to initialize the Git repository.
 
@@ -256,7 +256,9 @@
             project.closeProject()
             project.openProject(pfn)
 
-    def vcsImport(self, vcsDataDict, projectDir, noDialog=False, addAll=True):
+    def vcsImport(
+        self, vcsDataDict, projectDir, noDialog=False, addAll=True  # noqa: U100
+    ):
         """
         Public method used to import the project into the Git repository.
 
@@ -640,7 +642,9 @@
         """
         self.vcsAdd(path, isDir=False)
 
-    def vcsRemove(self, name, project=False, noDialog=False, stageOnly=False):
+    def vcsRemove(
+        self, name, project=False, noDialog=False, stageOnly=False  # noqa: U100
+    ):
         """
         Public method used to remove a file/directory from the Git
         repository.
@@ -1077,7 +1081,7 @@
 
         return self.canBeAdded
 
-    def vcsAllRegisteredStates(self, names, dname, shortcut=True):
+    def vcsAllRegisteredStates(self, names, dname, shortcut=True):  # noqa: U100
         """
         Public method used to get the registered states of a number of files
         in the vcs.
@@ -1230,7 +1234,9 @@
             if res:
                 dia.exec()
 
-    def vcsOptionsDialog(self, project, archive, editable=False, parent=None):
+    def vcsOptionsDialog(
+        self, project, archive, editable=False, parent=None  # noqa: U100
+    ):
         """
         Public method to get a dialog to enter repository info.
 
@@ -2038,12 +2044,11 @@
 
         return True
 
-    def gitGetTagsList(self, repodir, withType=False):
+    def gitGetTagsList(self, repodir):
         """
         Public method to get the list of tags.
 
         @param repodir directory name of the repository (string)
-        @param withType flag indicating to get the tag type as well (boolean)
         @return list of tags (list of string) or list of tuples of
             tag name and flag indicating a local tag (list of tuple of string
             and boolean), if withType is True

eric ide

mercurial