Run weak attribute checker standalone.
()
| 75 | |
| 76 | |
| 77 | def 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 | |
| 90 | if __name__ == "__main__": |
no test coverage detected