Bump ruff from 0.16.10 to 0.17.0 (#20694)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: esphome[bot] <115708604+esphome[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2026-10-13 21:53:44 -04:00
committed by GitHub
co-authored by esphome[bot] Jonathan Swoboda
parent 9ee4314bc2
commit 613973b432
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ ci:
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.16.10
rev: v0.17.0
hooks:
# Run the linter.
- id: ruff
+2 -2
View File
@@ -1,4 +1,4 @@
import datetime
import datetime as dt
import random
import esphome.codegen as cg
@@ -176,7 +176,7 @@ async def _attr_to_code(config: ConfigType) -> None:
basic_attrs.date_code,
# Local build time, matching the esp32 implementation
# (App.get_build_time() in C++).
datetime.datetime.now().astimezone().strftime("%Y%m%d %H%M%S"),
dt.datetime.now().astimezone().strftime("%Y%m%d %H%M%S"),
),
zigbee_assign(
basic_attrs.power_source,
+1 -1
View File
@@ -1,6 +1,6 @@
pylint==4.1.2
flake8==7.4.1 # .pre-commit-config.yaml rev synced by script/sync_dependency_versions.py
ruff==0.16.10 # .pre-commit-config.yaml rev synced by script/sync_dependency_versions.py
ruff==0.17.0 # .pre-commit-config.yaml rev synced by script/sync_dependency_versions.py
pyupgrade==3.22.0 # .pre-commit-config.yaml rev synced by script/sync_dependency_versions.py
prek==0.5.5 # .github/workflows/ci.yml reads this pin
yamlrocks==0.6.1 # used by script/sync_dependency_versions.py