Update mypy-dev to 1.14.0a3 (#130629)
parent
f4719a21ea
commit
3db4d951bf
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue