diff --git a/.mypy.ini b/.mypy.ini index c2d0fb0..080df19 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -1,3 +1,6 @@ +[mypy-checkdmarc.*] +ignore_missing_imports = True + [mypy-decouple.*] ignore_missing_imports = True diff --git a/app/src/lax_record_query.py b/app/src/lax_record_query.py index 29dffc6..60baa40 100644 --- a/app/src/lax_record_query.py +++ b/app/src/lax_record_query.py @@ -6,7 +6,6 @@ from typing import List import dns.resolver - from checkdmarc import get_base_domain from checkdmarc.utils import query_dns diff --git a/app/src/scan.py b/app/src/scan.py index fb230b9..d110bf1 100644 --- a/app/src/scan.py +++ b/app/src/scan.py @@ -7,7 +7,7 @@ from email.message import Message as EmailMessage from typing import Any, Callable, Dict, List, Optional -import checkdmarc # type: ignore +import checkdmarc import dkim import dkim.util import dns.exception