From 1372ec8ad2606d7a49b2cc92e845ae746de4f5e2 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 23 Aug 2026 13:07:33 -0500 Subject: [PATCH] Trim the shape-key comment --- esphome/build_helpers/idedata.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/esphome/build_helpers/idedata.py b/esphome/build_helpers/idedata.py index 5e4d1cd25d..038fe64970 100644 --- a/esphome/build_helpers/idedata.py +++ b/esphome/build_helpers/idedata.py @@ -336,13 +336,9 @@ def idedata_from_build(compile_commands: Path, launcher: str | None = None) -> d ) def _shape(entry: dict) -> str: - # The command minus its TU-specific paths: entries sharing a shape - # carry identical include sets (one ninja rule), so tokenize once - # per shape instead of once per TU. Response-file commands never - # dedupe: per-object .rsp names strip to one shape while the files - # may hold different include sets. - # Keyed on directory too: relative -I paths resolve against it, so - # identical commands in different dirs mean different include sets + # directory + command minus TU-specific paths: same shape means the + # same include set, so tokenize once per shape. Response-file + # commands never dedupe (the .rsp contents differ per object) command = entry["command"] directory = entry.get("directory", "") if "@" in command: