Run *.impl.hpp includes checker standalone.
()
| 89 | |
| 90 | |
| 91 | def main() -> None: |
| 92 | """Run *.impl.hpp includes checker standalone.""" |
| 93 | from ci.util.check_files import run_checker_standalone |
| 94 | |
| 95 | checker = ImplHppIncludesChecker() |
| 96 | run_checker_standalone( |
| 97 | checker, |
| 98 | [str(SRC_ROOT), str(PROJECT_ROOT / "tests")], |
| 99 | "Found *.impl.hpp includes in non-router files (*.impl.hpp should only be included by *.impl.cpp.hpp)", |
| 100 | extensions=[".cpp", ".h", ".hpp", ".cpp.hpp", ".impl.cpp.hpp"], |
| 101 | ) |
| 102 | |
| 103 | |
| 104 | if __name__ == "__main__": |
no test coverage detected