[ci-custom] Directions on constant hoisting (#14637)

This commit is contained in:
Clyde Stubbs authored and GitHub committed 2026-03-08 23:48:03 -04:00
1 parent 088a8a4338
commit f3ca86b670
1 file changed
+1 -1
+1 -1
View File
@@ -519,7 +519,7 @@ def lint_constants_usage():
continue
errs.append(
f"Constant {highlight(constant)} is defined in {len(uses)} files. Please move all definitions of the "
f"constant to const.py (Uses: {', '.join(str(u) for u in uses)}) in a separate PR. "
f"constant to esphome/components/const/__init__.py (Uses: {', '.join(str(u) for u in uses)}) in a separate PR. "
"See https://developers.esphome.io/contributing/code/#python"
)
return errs