Skip to content

Commit b773047

Browse files
committed
chores: Fix linter errors
1 parent 05fd684 commit b773047

File tree

1 file changed

+1
-1
lines changed
  • supertokens_python/recipe/passwordless

1 file changed

+1
-1
lines changed

supertokens_python/recipe/passwordless/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async def default_validate_phone_number(value: str, _tenant_id: str):
5858
return "Phone number is invalid"
5959

6060

61-
async def default_validate_email(value: str, tenant_id: str):
61+
async def default_validate_email(value: str, _tenant_id: str):
6262
pattern = r"^(([^<>()\[\]\\.,;:\s@\"]+(\.[^<>()\[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$"
6363
if fullmatch(pattern, value) is None:
6464
return "Email is invalid"

0 commit comments

Comments
 (0)