Update pydocstyle to 6.2.3 (#85449)
This commit is contained in:
parent
b0270f1ab7
commit
8f7aca7b69
3 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue