diff -r 2f70ca07f0af -r 4cd7e5a8b3cf src/eric7/Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py --- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py Sat Dec 23 15:40:23 2023 +0100 @@ -31,7 +31,9 @@ Constructor @param vcs reference to the version control object - @param parent parent widget (QWidget) + @type Hg + @param parent parent widget + @type QWidget """ super().__init__(parent) self.setupUi(self) @@ -70,7 +72,8 @@ """ Private slot to handle a change of the project directory. - @param txt name of the project directory (string) + @param txt name of the project directory + @type str """ self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( bool(txt) @@ -82,7 +85,8 @@ """ Private slot to handle changes of the URL. - @param txt current text of the line edit (string) + @param txt current text of the line edit + @type str """ url = QUrl.fromUserInput(txt) enable = url.isValid() and url.scheme() in ConfigHgSchemes @@ -106,8 +110,9 @@ Public slot to retrieve the data entered into the dialog and to save the history of entered repository URLs. - @return a tuple of a string (project directory) and a dictionary - containing the data entered. + @return tuple containing the project directory and a dictionary + containing the data entered + @rtype tuple of (str, dict) """ self.__saveHistory()