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:
@@ -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]))
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user