1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Update pylint to 2.8.0 (#49637)

This commit is contained in:
Marc Mueller
2021-04-25 02:39:24 +02:00
committed by GitHub
parent 28eaa67986
commit f1d48ddfe3
32 changed files with 114 additions and 114 deletions

View File

@@ -1,7 +1,7 @@
"""Selectors for Home Assistant."""
from __future__ import annotations
from typing import Any, Callable, Dict, cast
from typing import Any, Callable, cast
import voluptuous as vol
@@ -31,7 +31,7 @@ def validate_selector(config: Any) -> dict:
return {selector_type: {}}
return {
selector_type: cast(Dict, selector_class.CONFIG_SCHEMA(config[selector_type]))
selector_type: cast(dict, selector_class.CONFIG_SCHEMA(config[selector_type]))
}