mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Update pydocstyle to 6.2.3 (#85449)
This commit is contained in:
parent
b0270f1ab7
commit
8f7aca7b69
@ -36,7 +36,7 @@ repos:
|
|||||||
- pycodestyle==2.10.0
|
- pycodestyle==2.10.0
|
||||||
- pyflakes==3.0.1
|
- pyflakes==3.0.1
|
||||||
- flake8-docstrings==1.6.0
|
- flake8-docstrings==1.6.0
|
||||||
- pydocstyle==6.1.1
|
- pydocstyle==6.2.3
|
||||||
- flake8-comprehensions==3.10.1
|
- flake8-comprehensions==3.10.1
|
||||||
- flake8-noqa==1.3.0
|
- flake8-noqa==1.3.0
|
||||||
- mccabe==0.7.0
|
- mccabe==0.7.0
|
||||||
|
@ -120,7 +120,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
|||||||
|
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
async def async_get_device_automation_platform( # noqa: D103
|
async def async_get_device_automation_platform(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
domain: str,
|
domain: str,
|
||||||
automation_type: Literal[DeviceAutomationType.TRIGGER],
|
automation_type: Literal[DeviceAutomationType.TRIGGER],
|
||||||
@ -129,7 +129,7 @@ async def async_get_device_automation_platform( # noqa: D103
|
|||||||
|
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
async def async_get_device_automation_platform( # noqa: D103
|
async def async_get_device_automation_platform(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
domain: str,
|
domain: str,
|
||||||
automation_type: Literal[DeviceAutomationType.CONDITION],
|
automation_type: Literal[DeviceAutomationType.CONDITION],
|
||||||
@ -138,7 +138,7 @@ async def async_get_device_automation_platform( # noqa: D103
|
|||||||
|
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
async def async_get_device_automation_platform( # noqa: D103
|
async def async_get_device_automation_platform(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
domain: str,
|
domain: str,
|
||||||
automation_type: Literal[DeviceAutomationType.ACTION],
|
automation_type: Literal[DeviceAutomationType.ACTION],
|
||||||
@ -147,15 +147,15 @@ async def async_get_device_automation_platform( # noqa: D103
|
|||||||
|
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
async def async_get_device_automation_platform( # noqa: D103
|
async def async_get_device_automation_platform(
|
||||||
hass: HomeAssistant, domain: str, automation_type: DeviceAutomationType
|
hass: HomeAssistant, domain: str, automation_type: DeviceAutomationType
|
||||||
) -> "DeviceAutomationPlatformType":
|
) -> DeviceAutomationPlatformType:
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
async def async_get_device_automation_platform(
|
async def async_get_device_automation_platform(
|
||||||
hass: HomeAssistant, domain: str, automation_type: DeviceAutomationType
|
hass: HomeAssistant, domain: str, automation_type: DeviceAutomationType
|
||||||
) -> "DeviceAutomationPlatformType":
|
) -> DeviceAutomationPlatformType:
|
||||||
"""Load device automation platform for integration.
|
"""Load device automation platform for integration.
|
||||||
|
|
||||||
Throws InvalidDeviceAutomationConfig if the integration is not found or does not support device automation.
|
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
|
isort==5.11.4
|
||||||
mccabe==0.7.0
|
mccabe==0.7.0
|
||||||
pycodestyle==2.10.0
|
pycodestyle==2.10.0
|
||||||
pydocstyle==6.1.1
|
pydocstyle==6.2.3
|
||||||
pyflakes==3.0.1
|
pyflakes==3.0.1
|
||||||
pyupgrade==3.3.1
|
pyupgrade==3.3.1
|
||||||
yamllint==1.28.0
|
yamllint==1.28.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user