Update mypy-dev to 1.13.0a1 (#128548)

pull/128561/head
Marc Mueller 2024-10-17 10:30:42 +02:00 committed by GitHub
parent 006d511d47
commit cb1b917aa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -408,7 +408,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: # noqa:
def preprocess_data(data: dict[str, Any]) -> VolDictType:
"""Preprocess the service data."""
base: VolDictType = {
entity_field: data.pop(entity_field)
entity_field: data.pop(entity_field) # type: ignore[arg-type]
for entity_field in cv.ENTITY_SERVICE_FIELDS
if entity_field in data
}

View File

@ -96,7 +96,7 @@ async def async_setup_entry(
# ie Atlantic APC
entities_based_on_widget_and_controllable: list[Entity] = [
WIDGET_AND_CONTROLLABLE_TO_CLIMATE_ENTITY[device.widget][
device.controllable_name
device.controllable_name # type: ignore[index]
](device.device_url, data.coordinator)
for device in data.platforms[Platform.CLIMATE]
if device.widget in WIDGET_AND_CONTROLLABLE_TO_CLIMATE_ENTITY

View File

@ -11,7 +11,7 @@ astroid==3.3.4
coverage==7.6.1
freezegun==1.5.1
mock-open==1.4.0
mypy-dev==1.12.0a5
mypy-dev==1.13.0a1
pre-commit==4.0.0
pydantic==1.10.18
pylint==3.3.1