From 9eba12cba5641d6a0b988038694cbc2dd52800c5 Mon Sep 17 00:00:00 2001 From: Scott Date: Mon, 31 Jan 2022 21:38:46 -0800 Subject: Myre mypy fixes. --- string_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string_utils.py') diff --git a/string_utils.py b/string_utils.py index 991793d..9a20466 100644 --- a/string_utils.py +++ b/string_utils.py @@ -1095,7 +1095,7 @@ def to_date(in_str: str) -> Optional[datetime.date]: """ Parses a date string. See DateParser docs for details. """ - import dateparse.dateparse_utils as dp + import dateparse.dateparse_utils as dp # type: ignore try: d = dp.DateParser() -- cgit v1.3