From 43580739accaab3882ffcff0b7a0ef50fd50eac3 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Tue, 29 Apr 2025 11:58:13 +1200 Subject: [PATCH] Ensure new const file stays in order (#8642) --- script/ci-custom.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/script/ci-custom.py b/script/ci-custom.py index 6a5fb32180..dda5410778 100755 --- a/script/ci-custom.py +++ b/script/ci-custom.py @@ -318,7 +318,12 @@ def lint_no_long_delays(fname, match): ) -@lint_content_check(include=["esphome/const.py"]) +@lint_content_check( + include=[ + "esphome/const.py", + "esphome/components/const/__init__.py", + ] +) def lint_const_ordered(fname, content): """Lint that value in const.py are ordered.