Add strict typing, shared constants, and fix OPNsense name casing (#151599)

This commit is contained in:
Kevin McCormack
2025-09-04 05:20:16 -04:00
committed by GitHub
parent 8d945d89de
commit eae1fe4a56
7 changed files with 63 additions and 35 deletions

10
mypy.ini generated
View File

@@ -3586,6 +3586,16 @@ disallow_untyped_defs = true
warn_return_any = true
warn_unreachable = true
[mypy-homeassistant.components.opnsense.*]
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.opower.*]
check_untyped_defs = true
disallow_incomplete_defs = true