diff --git a/mypy.ini b/mypy.ini deleted file mode 100644 index 507e46b583d..00000000000 --- a/mypy.ini +++ /dev/null @@ -1,16 +0,0 @@ -[mypy] -python_version = 3.6 -check_untyped_defs = true -disallow_incomplete_defs = true -disallow_untyped_calls = true -disallow_untyped_defs = true -follow_imports = silent -ignore_missing_imports = true -no_implicit_optional = true -strict_equality = true -warn_incomplete_stub = true -warn_redundant_casts = true -warn_return_any = true -warn_unreachable = true -warn_unused_configs = true -warn_unused_ignores = true diff --git a/setup.cfg b/setup.cfg index c6ff25bb362..49f738cf969 100644 --- a/setup.cfg +++ b/setup.cfg @@ -52,3 +52,20 @@ default_section = THIRDPARTY known_first_party = homeassistant,tests forced_separate = tests combine_as_imports = true + +[mypy] +python_version = 3.6 +check_untyped_defs = true +disallow_incomplete_defs = true +disallow_untyped_calls = true +disallow_untyped_defs = true +follow_imports = silent +ignore_missing_imports = true +no_implicit_optional = true +strict_equality = true +warn_incomplete_stub = true +warn_redundant_casts = true +warn_return_any = true +warn_unreachable = true +warn_unused_configs = true +warn_unused_ignores = true