1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

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

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.