MCPcopy Create free account
hub / github.com/FastLED/FastLED / remove_duplicates

Function remove_duplicates

ci/ci-compile-concurrent-backup.py:265–272  ·  view source on GitHub ↗
(items: list[str])

Source from the content-addressed store, hash-verified

263
264
265def remove_duplicates(items: list[str]) -> list[str]:
266 seen: set[str] = set()
267 out: list[str] = []
268 for item in items:
269 if item not in seen:
270 seen.add(item)
271 out.append(item)
272 return out
273
274
275def choose_board_interactively(boards: list[str]) -> list[str]:

Callers 1

Calls 3

setClass · 0.50
addMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected