mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Move mypy settings to setup.cfg (#25611)
This commit is contained in:
16
mypy.ini
16
mypy.ini
@@ -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
|
17
setup.cfg
17
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
|
||||
|
Reference in New Issue
Block a user