PEP8 fixes.
This commit is contained in:
parent
32581c0621
commit
a0adffdc8e
4 changed files with 27 additions and 13 deletions
|
@ -14,6 +14,7 @@ def validate_username(username):
|
|||
len(username) > 1 and
|
||||
len(username) < 256)
|
||||
|
||||
|
||||
def validate_password(password):
|
||||
# No whitespace and minimum length of 8
|
||||
if re.search(r'\s', password):
|
||||
|
|
Reference in a new issue