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

Function main

ci/lint_cpp/attribute_checker.py:139–153  ·  view source on GitHub ↗

Run attribute checker standalone.

()

Source from the content-addressed store, hash-verified

137
138
139def main() -> None:
140 """Run attribute checker standalone."""
141 from ci.util.check_files import run_checker_standalone
142
143 checker = AttributeChecker()
144 run_checker_standalone(
145 checker,
146 [
147 str(PROJECT_ROOT / "src"),
148 str(PROJECT_ROOT / "examples"),
149 str(PROJECT_ROOT / "tests"),
150 ],
151 "Found C++ standard attributes - use FL_* macros instead",
152 extensions=[".cpp", ".h", ".hpp", ".ino", ".cpp.hpp"],
153 )
154
155
156if __name__ == "__main__":

Callers 1

Calls 2

run_checker_standaloneFunction · 0.90
AttributeCheckerClass · 0.70

Tested by

no test coverage detected