--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitPatchStatisticsDialog.py Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitPatchStatisticsDialog.py Sat Dec 23 15:40:23 2023 +0100 @@ -26,7 +26,9 @@ Constructor @param vcs reference to the VCS object (Git) - @param parent reference to the parent widget (QWidget) + @type Git + @param parent reference to the parent widget + @type QWidget """ super().__init__(parent) self.setupUi(self) @@ -43,9 +45,11 @@ """ Public method to start the statistics process. - @param projectDir directory name of the project (string) + @param projectDir directory name of the project + @type str @param patchCheckData tuple of data as returned by the GitPatchFilesDialog.getData() method + @type tuple of (list of str, int, bool, bool) """ from .GitPatchFilesDialog import GitPatchFilesDialog @@ -137,7 +141,8 @@ """ Private method to create a file statistics entry. - @param line string with file statistics data (string) + @param line string with file statistics data + @type str """ insertions, deletions, filename = line.strip().split(None, 2) itm = QTreeWidgetItem(self.changesTreeWidget, [insertions, deletions, filename]) @@ -160,6 +165,6 @@ @return tuple of list of patch files, strip count, flag indicating that the patch has inaccurate end-of-file marker and a flag indicating to not trust the line count information - (list of string, integer, boolean, boolean) + @rtype tuple of (list of str, int, bool, bool) """ return self.__patchCheckData