Skip to content

Commit

Permalink
removed erroneously pasted text from validation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daveoncode committed Mar 4, 2020
1 parent caad228 commit 2aa0009
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
# directories to ignore when looking for source files.
exclude_patterns = ['build', '_build', '_templates', '.venv', '.tox', 'htmlcov']

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand Down
11 changes: 0 additions & 11 deletions string_utils/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,17 +200,6 @@ def is_url(input_string: Any, allowed_schemes: Optional[List[str]] = None) -> bo
return valid


# todo: fix me
'''
That limit is a maximum of 64 characters (octets)
in the "local part" (before the "@") and a maximum of 255 characters
(octets) in the domain part (after the "@") for a total length of 320
characters. Systems that handle email should be prepared to process
addresses which are that long, even though they are rarely
encountered.
'''


def is_email(input_string: Any) -> bool:
"""
Check if a string is a valid email.
Expand Down

0 comments on commit 2aa0009

Please sign in to comment.