Ensure new const file stays in order (#8642)

This commit is contained in:
Jesse Hills 2025-04-29 11:58:13 +12:00 committed by GitHub
parent c9f7ab6948
commit 43580739ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.