Move mypy settings to setup.cfg (#25611)

This commit is contained in:
Ville Skyttä 2019-08-01 08:53:53 +03:00 committed by cgtobi
parent cfd600d72e
commit f9b1a52259
2 changed files with 17 additions and 16 deletions

View file

@ -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

View file

@ -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