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

Function main

ci/lint_cpp/weak_attribute_checker.py:77–87  ·  view source on GitHub ↗

Run weak attribute checker standalone.

()

Source from the content-addressed store, hash-verified

75
76
77def main() -> None:
78 """Run weak attribute checker standalone."""
79 from ci.util.check_files import run_checker_standalone
80
81 checker = WeakAttributeChecker()
82 run_checker_standalone(
83 checker,
84 [str(PROJECT_ROOT / "src"), str(PROJECT_ROOT / "examples")],
85 "Found __attribute__((weak)) - use FL_LINK_WEAK instead",
86 extensions=[".cpp", ".h", ".hpp", ".ino", ".cpp.hpp"],
87 )
88
89
90if __name__ == "__main__":

Callers 1

Calls 2

run_checker_standaloneFunction · 0.90

Tested by

no test coverage detected