--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/ProjectHelper.py Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/ProjectHelper.py Sat Dec 23 15:40:23 2023 +0100 @@ -188,8 +188,10 @@ """ Public method to generate the extension menu. - @param mainMenu reference to the main menu (QMenu) - @return populated menu (QMenu) + @param mainMenu reference to the main menu + @type QMenu + @return populated menu + @rtype QMenu """ menu = QMenu(self.menuTitle(), mainMenu) menu.setTearOffEnabled(True) @@ -215,7 +217,8 @@ """ Public method to get the menu title. - @return title of the menu (string) + @return title of the menu + @rtype str """ return self.tr("Large Files") @@ -232,8 +235,8 @@ """ Private slot to convert the repository format of the current project. - @param direction direction of the conversion (string; one of - 'largefiles' or 'normal') + @param direction direction of the conversion (one of 'largefiles' or 'normal') + @type str @exception ValueError raised to indicate a bad value for the 'direction' parameter. """ @@ -260,9 +263,9 @@ """ Private slot to verify large files integrity. - @param mode verify mode (string; one of 'large', 'lfa' or 'lfc') - @exception ValueError raised to indicate a bad value for the - 'mode' parameter. + @param mode verify mode (one of 'large', 'lfa' or 'lfc') + @type str + @exception ValueError raised to indicate a bad value for the 'mode' parameter. """ if mode not in ["large", "lfa", "lfc"]: raise ValueError("Bad value for 'mode' parameter.")