src/eric7/Plugins/VcsPlugins/vcsSubversion/subversion.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10373
093dcebe5ecb
--- a/src/eric7/Plugins/VcsPlugins/vcsSubversion/subversion.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/Plugins/VcsPlugins/vcsSubversion/subversion.py	Thu May 25 19:51:47 2023 +0200
@@ -184,7 +184,7 @@
 
         return False, errMsg
 
-    def vcsInit(self, vcsDir, noDialog=False):
+    def vcsInit(self, vcsDir, noDialog=False):  # noqa: U100
         """
         Public method used to initialize the subversion repository.
 
@@ -264,7 +264,9 @@
             project.closeProject(noSave=True)
             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 Subversion
         repository.
@@ -826,7 +828,7 @@
         if res:
             dia.exec()
 
-    def vcsRemove(self, name, project=False, noDialog=False):
+    def vcsRemove(self, name, project=False, noDialog=False):  # noqa: U100
         """
         Public method used to remove a file/directory from the Subversion
         repository.
@@ -1358,11 +1360,11 @@
             canBeCommited and canBeAdded or None in order to signal an error
         """
         if self.__wcng:
-            return self.__vcsAllRegisteredStates_wcng(names, dname, shortcut)
+            return self.__vcsAllRegisteredStates_wcng(names, dname)
         else:
             return self.__vcsAllRegisteredStates_wc(names, dname, shortcut)
 
-    def __vcsAllRegisteredStates_wcng(self, names, dname, shortcut=True):
+    def __vcsAllRegisteredStates_wcng(self, names, dname):
         """
         Private method used to get the registered states of a number of files
         in the VCS.
@@ -1376,7 +1378,6 @@
 
         @param names dictionary with all filenames to be checked as keys
         @param dname directory to check in (string)
-        @param shortcut flag indicating a shortcut should be taken (boolean)
         @return the received dictionary completed with a combination of
             canBeCommited and canBeAdded or None in order to signal an error
         """
@@ -1507,7 +1508,7 @@
         """
         self.statusCache = {}
 
-    def vcsInitConfig(self, project):
+    def vcsInitConfig(self, project):  # noqa: U100
         """
         Public method to initialize the VCS configuration.
 
@@ -1575,7 +1576,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.
 

eric ide

mercurial