Get mypy passing with check_untyped_defs everywhere (#6021)

* unchecked_typed_defs everywhere

* fix mypy for lock_test

* add magic_typing

* fix mypy in letshelp

* fix validator errors in compat test

* fix mypy for test_driver.py

* fix mypy in util.py

* delint
This commit is contained in:
Brad Warren
2018-05-21 20:23:21 -07:00
committed by ohemorange
parent 0d3a157525
commit c9a206ca89
9 changed files with 106 additions and 85 deletions
+4 -42
View File
@@ -1,48 +1,10 @@
[mypy]
python_version = 2.7
ignore_missing_imports = True
[mypy-acme.*]
check_untyped_defs = True
ignore_missing_imports = True
python_version = 2.7
[mypy-acme.magic_typing_test]
ignore_errors = True
[mypy-certbot.*]
check_untyped_defs = True
[mypy-certbot_apache.*]
check_untyped_defs = True
[mypy-certbot_dns_cloudflare.*]
check_untyped_defs = True
[mypy-certbot_dns_cloudxns.*]
check_untyped_defs = True
[mypy-certbot_dns_digitalocean.*]
check_untyped_defs = True
[mypy-certbot_dns_dnsimple.*]
check_untyped_defs = True
[mypy-certbot_dns_dnsmadeeasy.*]
check_untyped_defs = True
[mypy-certbot_dns_google.*]
check_untyped_defs = True
[mypy-certbot_dns_luadns.*]
check_untyped_defs = True
[mypy-certbot_dns_nsone.*]
check_untyped_defs = True
[mypy-certbot_dns_rfc2136.*]
check_untyped_defs = True
[mypy-certbot_dns_route53.*]
check_untyped_defs = True
[mypy-certbot_nginx.*]
check_untyped_defs = True
[mypy-letshelp_certbot.magic_typing_test]
ignore_errors = True