From 2fc0a11596955c07dcb6dba5e8edd8a7ef2b0388 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Mon, 11 Aug 2025 09:53:40 +1200 Subject: [PATCH] [CI] Print more info for when consts are duplicated (#10166) --- script/ci-custom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/ci-custom.py b/script/ci-custom.py index 6f3c513f42..61081608d5 100755 --- a/script/ci-custom.py +++ b/script/ci-custom.py @@ -500,7 +500,8 @@ 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(uses)})" + f"constant to const.py (Uses: {', '.join(uses)}) in a separate PR. " + "See https://developers.esphome.io/contributing/code/#python" ) return errs