mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 04:05:20 +01:00
Enable strict type checking on apple_tv integration (#101688)
* Enable strict type checking on apple_tv integration * move some instance variables to class variables * fix type of attr_value * fix tests for description_placeholders assertion * nits * Apply suggestions from code review * Update remote.py * Apply suggestions from code review * Update __init__.py * Update __init__.py * Update __init__.py * Update config_flow.py * Improve test coverage * Update test_config_flow.py * Update __init__.py --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
10
mypy.ini
10
mypy.ini
@@ -560,6 +560,16 @@ disallow_untyped_defs = true
|
||||
warn_return_any = true
|
||||
warn_unreachable = true
|
||||
|
||||
[mypy-homeassistant.components.apple_tv.*]
|
||||
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.apprise.*]
|
||||
check_untyped_defs = true
|
||||
disallow_incomplete_defs = true
|
||||
|
||||
Reference in New Issue
Block a user