mirror of
https://github.com/home-assistant/core.git
synced 2025-11-07 01:50:18 +00:00
Enable all TID ruff rules (#126312)
* Enable ruff rule TID252 * One more * comment
This commit is contained in:
@@ -1119,7 +1119,8 @@ def custom_serializer(schema: Any) -> Any:
|
||||
|
||||
def _custom_serializer(schema: Any, *, allow_section: bool) -> Any:
|
||||
"""Serialize additional types for voluptuous_serialize."""
|
||||
from .. import data_entry_flow # pylint: disable=import-outside-toplevel
|
||||
from homeassistant import data_entry_flow # pylint: disable=import-outside-toplevel
|
||||
|
||||
from . import selector # pylint: disable=import-outside-toplevel
|
||||
|
||||
if schema is positive_time_period_dict:
|
||||
|
||||
Reference in New Issue
Block a user