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

Function main

ci/lint_cpp/banned_headers_checker.py:636–649  ·  view source on GitHub ↗

Run banned headers checker standalone.

()

Source from the content-addressed store, hash-verified

634
635
636def main() -> None:
637 """Run banned headers checker standalone."""
638 from ci.util.check_files import run_checker_standalone
639 from ci.util.paths import PROJECT_ROOT
640
641 checker = BannedHeadersChecker(
642 banned_headers_list=BANNED_HEADERS_CORE, strict_mode=True
643 )
644 run_checker_standalone(
645 checker,
646 [str(PROJECT_ROOT / "src")],
647 "Found banned headers",
648 extensions=[".cpp", ".h", ".hpp", ".ino"],
649 )
650
651
652if __name__ == "__main__":

Callers 1

Calls 2

run_checker_standaloneFunction · 0.90

Tested by

no test coverage detected