diff -r 7febcdccb2a1 -r 435cc5875135 src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py --- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py Thu May 25 11:12:05 2023 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py Thu May 25 19:51:47 2023 +0200 @@ -246,7 +246,7 @@ self.__getExtensionsInfo() return hgExists, errMsg - def vcsInit(self, vcsDir, noDialog=False): + def vcsInit(self, vcsDir, noDialog=False): # noqa: U100 """ Public method used to initialize the mercurial repository. @@ -286,7 +286,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 Mercurial repository. @@ -598,7 +600,7 @@ return output - def vcsUpdate(self, name=None, noDialog=False, revision=None): + def vcsUpdate(self, name=None, noDialog=False, revision=None): # noqa: U100 """ Public method used to update a file/directory with the Mercurial repository. @@ -628,7 +630,7 @@ self.checkVCSStatus() return res - def vcsAdd(self, name, isDir=False, noDialog=False): + def vcsAdd(self, name, isDir=False, noDialog=False): # noqa: U100 """ Public method used to add a file/directory to the Mercurial repository. @@ -674,7 +676,7 @@ """ self.vcsAdd(path, isDir=False) - 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 Mercurial repository. @@ -833,7 +835,7 @@ self.summary.raise_() self.summary.start(mq=mq, largefiles=largefiles) - def vcsTag(self, name=None, revision=None, tagName=None): + def vcsTag(self, name=None, revision=None, tagName=None): # noqa: U100 """ Public method used to set/remove a tag in the Mercurial repository. @@ -940,7 +942,7 @@ return res - def vcsMerge(self, name, rev=""): + def vcsMerge(self, name, rev=""): # noqa: U100 """ Public method used to merge a URL/revision into the local project. @@ -1084,7 +1086,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. @@ -1216,7 +1218,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. @@ -1244,7 +1248,7 @@ return HgNewProjectOptionsDialog(self, parent) - def vcsRepositoryInfos(self, ppath): + def vcsRepositoryInfos(self, ppath): # noqa: U100 """ Public method to retrieve information about the repository.