--- a/src/eric7/Utilities/PasswordChecker.py Thu Dec 21 15:46:22 2023 +0100 +++ b/src/eric7/Utilities/PasswordChecker.py Thu Dec 21 19:50:01 2023 +0100 @@ -239,8 +239,10 @@ """ Private method to reverse a string. - @param string string to be reversed (string) - @return reversed string (string) + @param string string to be reversed + @type str + @return reversed string + @rtype str """ return "".join(reversed(string)) @@ -248,8 +250,10 @@ """ Private method to determine the status. - @param value value to check (integer) + @param value value to check + @type int @return status (Status_Failed, Status_Passed, Status_Exceeded) + @rtype int """ if value == 0: return self.Status_Passed @@ -262,8 +266,10 @@ """ Private method to determine a binary status. - @param value value to check (integer) + @param value value to check + @type int @return status (Status_Failed, Status_Passed) + @rtype int """ if value == 0: return self.Status_Passed @@ -274,10 +280,12 @@ """ Public method to check a given password. - @param password password to be checked (string) + @param password password to be checked + @type str @return indication for the password strength (Complexity_VeryWeak, Complexity_Weak, Complexity_Good, Complexity_Strong, Complexity_VeryStrong) + @rtype int """ # how long is the password? self.passwordLength["count"] = len(password)