Skip to content

Commit

Permalink
Update mypy-dev to 1.14.0a3 (#130629)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored Nov 14, 2024
1 parent f4719a2 commit 3db4d95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/sleepiq/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ def _get_actuator_name(bed: SleepIQBed, actuator: SleepIQActuator) -> str:
f" {bed.name} {actuator.side_full} {actuator.actuator_full} {ENTITY_TYPES[ACTUATOR]}"
)

return f"SleepNumber {bed.name} {actuator.actuator_full} {ENTITY_TYPES[ACTUATOR]}"
return f"SleepNumber {bed.name} {actuator.actuator_full} {ENTITY_TYPES[ACTUATOR]}" # type: ignore[unreachable]


def _get_actuator_unique_id(bed: SleepIQBed, actuator: SleepIQActuator) -> str:
if actuator.side:
return f"{bed.id}_{actuator.side.value}_{actuator.actuator}"

return f"{bed.id}_{actuator.actuator}"
return f"{bed.id}_{actuator.actuator}" # type: ignore[unreachable]


def _get_sleeper_name(bed: SleepIQBed, sleeper: SleepIQSleeper) -> str:
Expand Down
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ coverage==7.6.1
freezegun==1.5.1
license-expression==30.4.0
mock-open==1.4.0
mypy-dev==1.14.0a2
mypy-dev==1.14.0a3
pre-commit==4.0.0
pydantic==1.10.19
pylint==3.3.1
Expand Down

0 comments on commit 3db4d95

Please sign in to comment.