1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 14:08:21 +00:00

Update pylint to 2.13.0 (#68656)

This commit is contained in:
Marc Mueller
2022-03-25 23:14:48 +01:00
committed by GitHub
parent 225f7a989b
commit 53245c6523
20 changed files with 53 additions and 55 deletions

View File

@@ -1187,7 +1187,7 @@ async def _old_conf_migrator(old_config: dict[str, Any]) -> dict[str, Any]:
class ConfigFlow(data_entry_flow.FlowHandler):
"""Base class for config flows with some helpers."""
def __init_subclass__(cls, domain: str | None = None, **kwargs: Any) -> None:
def __init_subclass__(cls, *, domain: str | None = None, **kwargs: Any) -> None:
"""Initialize a subclass, register if possible."""
super().__init_subclass__(**kwargs)
if domain is not None: