Run include after namespace checker standalone.
()
| 92 | |
| 93 | |
| 94 | def main() -> None: |
| 95 | """Run include after namespace checker standalone.""" |
| 96 | from ci.util.check_files import run_checker_standalone |
| 97 | from ci.util.paths import PROJECT_ROOT |
| 98 | |
| 99 | checker = IncludeAfterNamespaceChecker() |
| 100 | run_checker_standalone( |
| 101 | checker, |
| 102 | [str(PROJECT_ROOT / "src")], |
| 103 | "Found #include after namespace declarations", |
| 104 | extensions=[".cpp", ".h", ".hpp", ".cc", ".ino"], |
| 105 | ) |
| 106 | |
| 107 | |
| 108 | if __name__ == "__main__": |
no test coverage detected