Update pydocstyle to 6.2.3 (#85449)

This commit is contained in:
Marc Mueller 2023-01-08 23:59:07 +01:00 committed by GitHub
parent b0270f1ab7
commit 8f7aca7b69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -36,7 +36,7 @@ repos:
- pycodestyle==2.10.0
- pyflakes==3.0.1
- flake8-docstrings==1.6.0
- pydocstyle==6.1.1
- pydocstyle==6.2.3
- flake8-comprehensions==3.10.1
- flake8-noqa==1.3.0
- mccabe==0.7.0

View file

@ -120,7 +120,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
@overload
async def async_get_device_automation_platform( # noqa: D103
async def async_get_device_automation_platform(
hass: HomeAssistant,
domain: str,
automation_type: Literal[DeviceAutomationType.TRIGGER],
@ -129,7 +129,7 @@ async def async_get_device_automation_platform( # noqa: D103
@overload
async def async_get_device_automation_platform( # noqa: D103
async def async_get_device_automation_platform(
hass: HomeAssistant,
domain: str,
automation_type: Literal[DeviceAutomationType.CONDITION],
@ -138,7 +138,7 @@ async def async_get_device_automation_platform( # noqa: D103
@overload
async def async_get_device_automation_platform( # noqa: D103
async def async_get_device_automation_platform(
hass: HomeAssistant,
domain: str,
automation_type: Literal[DeviceAutomationType.ACTION],
@ -147,15 +147,15 @@ async def async_get_device_automation_platform( # noqa: D103
@overload
async def async_get_device_automation_platform( # noqa: D103
async def async_get_device_automation_platform(
hass: HomeAssistant, domain: str, automation_type: DeviceAutomationType
) -> "DeviceAutomationPlatformType":
) -> DeviceAutomationPlatformType:
...
async def async_get_device_automation_platform(
hass: HomeAssistant, domain: str, automation_type: DeviceAutomationType
) -> "DeviceAutomationPlatformType":
) -> DeviceAutomationPlatformType:
"""Load device automation platform for integration.
Throws InvalidDeviceAutomationConfig if the integration is not found or does not support device automation.

View file

@ -11,7 +11,7 @@ flake8==6.0.0
isort==5.11.4
mccabe==0.7.0
pycodestyle==2.10.0
pydocstyle==6.1.1
pydocstyle==6.2.3
pyflakes==3.0.1
pyupgrade==3.3.1
yamllint==1.28.0