mirror of
https://github.com/esphome/esphome.git
synced 2025-07-29 06:36:45 +00:00
Ensure new const file stays in order (#8642)
This commit is contained in:
parent
c9f7ab6948
commit
43580739ac
@ -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):
|
def lint_const_ordered(fname, content):
|
||||||
"""Lint that value in const.py are ordered.
|
"""Lint that value in const.py are ordered.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user