mirror of
https://github.com/home-assistant/core.git
synced 2026-09-25 07:51:46 -05:00
Enable strict typing for Sofar (#180857)
This commit is contained in:
@@ -548,6 +548,7 @@ homeassistant.components.smhi.*
|
||||
homeassistant.components.smlight.*
|
||||
homeassistant.components.smtp.*
|
||||
homeassistant.components.snooz.*
|
||||
homeassistant.components.sofar.*
|
||||
homeassistant.components.solaredge_modbus.*
|
||||
homeassistant.components.solarlog.*
|
||||
homeassistant.components.sonarr.*
|
||||
|
||||
@@ -79,4 +79,4 @@ rules:
|
||||
inject-websession:
|
||||
status: exempt
|
||||
comment: This integration communicates over Modbus TCP, not HTTP.
|
||||
strict-typing: todo
|
||||
strict-typing: done
|
||||
|
||||
@@ -5238,6 +5238,16 @@ disallow_untyped_defs = true
|
||||
warn_return_any = true
|
||||
warn_unreachable = true
|
||||
|
||||
[mypy-homeassistant.components.sofar.*]
|
||||
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.solaredge_modbus.*]
|
||||
check_untyped_defs = true
|
||||
disallow_incomplete_defs = true
|
||||
|
||||
Reference in New Issue
Block a user