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

Function remove_rust_supported_checkers

ci/lint_cpp/rust_bridge.py:82–91  ·  view source on GitHub ↗

Remove checker instances handled by the Rust fast path.

(
    checkers_by_scope: dict[str, list[FileContentChecker]],
)

Source from the content-addressed store, hash-verified

80
81
82def remove_rust_supported_checkers(
83 checkers_by_scope: dict[str, list[FileContentChecker]],
84) -> None:
85 """Remove checker instances handled by the Rust fast path."""
86 for scope, checkers in checkers_by_scope.items():
87 filtered: list[FileContentChecker] = []
88 for checker in checkers:
89 if checker.__class__.__name__ not in RUST_SUPPORTED_CHECKERS:
90 filtered.append(checker)
91 checkers_by_scope[scope] = filtered
92
93
94def run_rust_linter(files: list[str] | None) -> dict[str, CheckerResults]:

Callers 1

mainFunction · 0.90

Calls 2

itemsMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected