[ci] Deal clang-tidy files across five shards (#20411)

This commit is contained in:
J. Nick Koston
2026-10-08 13:48:03 -10:00
committed by GitHub
parent fe21e3ad16
commit b4bd95b2ac
3 changed files with 46 additions and 12 deletions
+1 -1
View File
@@ -1616,7 +1616,7 @@ def lpt_partition(
Heaviest item first into the lightest group. Ties keep input order, so
pass pre-sorted items for deterministic output. script/clang-tidy's
split_list is the unweighted contiguous sibling.
split_list is the unweighted sibling that deals files out in turn.
"""
groups: list[list[str]] = [[] for _ in range(count)]
group_weights = [0.0] * count