Skip to content

Commit

Permalink
Mark time entity component as strictly typed
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored and cdce8p committed Dec 30, 2023
1 parent 1849d68 commit 6d536df
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .strict-typing
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ homeassistant.components.threshold.*
homeassistant.components.tibber.*
homeassistant.components.tile.*
homeassistant.components.tilt_ble.*
homeassistant.components.time.*
homeassistant.components.todo.*
homeassistant.components.tolo.*
homeassistant.components.tplink.*
Expand Down
10 changes: 10 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3292,6 +3292,16 @@ disallow_untyped_defs = true
warn_return_any = true
warn_unreachable = true

[mypy-homeassistant.components.time.*]
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.todo.*]
check_untyped_defs = true
disallow_incomplete_defs = true
Expand Down

0 comments on commit 6d536df

Please sign in to comment.