Update mypy-dev to 1.14.0a3 (#130629)

pull/130663/head
Marc Mueller 2024-11-14 21:27:40 +01:00 committed by GitHub
parent f4719a21ea
commit 3db4d951bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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