Run numeric limit macro checker standalone.
()
| 183 | |
| 184 | |
| 185 | def main() -> None: |
| 186 | """Run numeric limit macro checker standalone.""" |
| 187 | from ci.util.check_files import run_checker_standalone |
| 188 | from ci.util.paths import PROJECT_ROOT |
| 189 | |
| 190 | checker = NumericLimitMacroChecker() |
| 191 | run_checker_standalone( |
| 192 | checker, |
| 193 | [str(PROJECT_ROOT / "src")], |
| 194 | "Found numeric limit macros", |
| 195 | extensions=[".cpp", ".h", ".hpp", ".ino"], |
| 196 | ) |
| 197 | |
| 198 | |
| 199 | if __name__ == "__main__": |
no test coverage detected