()
| 119 | |
| 120 | |
| 121 | def main() -> None: |
| 122 | from ci.util.check_files import run_checker_standalone |
| 123 | |
| 124 | checker = BareNoInlineChecker() |
| 125 | run_checker_standalone( |
| 126 | checker, |
| 127 | [str(SRC_ROOT)], |
| 128 | "Found bare `__attribute__((noinline))` / `__declspec(noinline)` " |
| 129 | "in src/ — use `FL_NO_INLINE` from fl/stl/compiler_control.h " |
| 130 | "instead (FastLED #2773 item 2.1 follow-up).", |
| 131 | extensions=[".cpp", ".h", ".hpp"], |
| 132 | ) |
| 133 | |
| 134 | |
| 135 | if __name__ == "__main__": |
no test coverage detected