1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Bump ruff from 0.9.2 to 0.11.0 (#8409)

This commit is contained in:
dependabot[bot]
2025-03-20 09:51:23 -10:00
committed by GitHub
parent 6ea89644e7
commit 4adda632bb
651 changed files with 1962 additions and 2270 deletions

View File

@@ -1,15 +1,15 @@
import re
import esphome.codegen as cg
import esphome.config_validation as cv
from esphome import automation
import esphome.codegen as cg
from esphome.components import time
import esphome.config_validation as cv
from esphome.const import (
CONF_TIME_ID,
CONF_ID,
CONF_TRIGGER_ID,
CONF_LATITUDE,
CONF_LONGITUDE,
CONF_TIME_ID,
CONF_TRIGGER_ID,
)
CODEOWNERS = ["@OttoWinter"]

View File

@@ -1,12 +1,9 @@
import esphome.codegen as cg
import esphome.config_validation as cv
from esphome.components import sensor
from esphome.const import (
UNIT_DEGREES,
ICON_WEATHER_SUNSET,
CONF_TYPE,
)
from .. import sun_ns, CONF_SUN_ID, Sun
import esphome.config_validation as cv
from esphome.const import CONF_TYPE, ICON_WEATHER_SUNSET, UNIT_DEGREES
from .. import CONF_SUN_ID, Sun, sun_ns
DEPENDENCIES = ["sun"]

View File

@@ -1,14 +1,15 @@
import esphome.codegen as cg
from esphome.components import text_sensor
import esphome.config_validation as cv
import esphome.codegen as cg
from esphome.const import (
CONF_FORMAT,
CONF_ICON,
CONF_TYPE,
ICON_WEATHER_SUNSET_DOWN,
ICON_WEATHER_SUNSET_UP,
CONF_TYPE,
CONF_FORMAT,
)
from .. import sun_ns, CONF_SUN_ID, Sun, CONF_ELEVATION, elevation, DEFAULT_ELEVATION
from .. import CONF_ELEVATION, CONF_SUN_ID, DEFAULT_ELEVATION, Sun, elevation, sun_ns
DEPENDENCIES = ["sun"]