Refactor UniFi upgrade entities (#80752)

* Refactor UniFi upgrade entities

* Enable type check for UniFi update platform
This commit is contained in:
Robert Svensson
2022-10-23 19:33:08 +02:00
committed by GitHub
parent 2966f9ed8e
commit c6e7b9cc99
3 changed files with 71 additions and 77 deletions

View File

@@ -2463,6 +2463,16 @@ disallow_untyped_defs = true
warn_return_any = true
warn_unreachable = true
[mypy-homeassistant.components.unifi.update]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
warn_return_any = true
warn_unreachable = true
[mypy-homeassistant.components.unifiprotect.*]
check_untyped_defs = true
disallow_incomplete_defs = true