mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Update ruff to 0.12.0 (#147106)
This commit is contained in:
@@ -47,8 +47,7 @@ WARNING_STR = "General Warnings"
|
||||
|
||||
def color(the_color, *args, reset=None):
|
||||
"""Color helper."""
|
||||
# pylint: disable-next=import-outside-toplevel
|
||||
from colorlog.escape_codes import escape_codes, parse_colors
|
||||
from colorlog.escape_codes import escape_codes, parse_colors # noqa: PLC0415
|
||||
|
||||
try:
|
||||
if not args:
|
||||
|
Reference in New Issue
Block a user