Skip to content

Commit df5297d

Browse files
Adicionado type hints na função is_valid do aruivo email.py. (#640)
Co-authored-by: Nilton Pimentel <63605485+niltonpimentel02@users.noreply.github.com>
1 parent aba266c commit df5297d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

brutils/email.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import re
22

33

4-
def is_valid(email): # type: (str) -> bool
4+
def is_valid(email: str) -> bool:
55
"""
66
Check if a string corresponds to a valid email address.
77

0 commit comments

Comments
 (0)