Run attribute checker standalone.
()
| 137 | |
| 138 | |
| 139 | def 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 | |
| 156 | if __name__ == "__main__": |
no test coverage detected