mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 09:21:39 -05:00
pep8 fixed
This commit is contained in:
@@ -94,10 +94,8 @@ def init_app(app):
|
||||
|
||||
def email_safe(string):
|
||||
return "".join([
|
||||
character.lower()
|
||||
if character.isalnum() or character == "."
|
||||
else "" for character in re.sub("\s+", ".", string.strip())
|
||||
])
|
||||
character.lower() if character.isalnum() or character == "." else "" for character in re.sub("\s+", ".", string.strip()) # noqa
|
||||
])
|
||||
|
||||
|
||||
def create_uuid():
|
||||
|
||||
Reference in New Issue
Block a user