diff --git a/certbot/auth_handler.py b/certbot/auth_handler.py index c9582107d..e7d658b25 100644 --- a/certbot/auth_handler.py +++ b/certbot/auth_handler.py @@ -10,6 +10,7 @@ from acme import challenges from acme import messages # pylint: disable=unused-import, no-name-in-module from acme.magic_typing import DefaultDict, Dict, List, Set, Collection +# pylint: enable=unused-import, no-name-in-module from certbot import achallenges from certbot import errors from certbot import error_handler diff --git a/mypy.ini b/mypy.ini index eca549699..327361c93 100644 --- a/mypy.ini +++ b/mypy.ini @@ -37,3 +37,6 @@ check_untyped_defs = True [mypy-certbot_dns_digitalocean.*] check_untyped_defs = True + +[mypy-certbot_nginx.*] +check_untyped_defs = True