Run platform trampoline checker standalone.
()
| 144 | |
| 145 | |
| 146 | def main() -> None: |
| 147 | """Run platform trampoline checker standalone.""" |
| 148 | from ci.util.check_files import run_checker_standalone # type: ignore[attr-defined] |
| 149 | from ci.util.paths import PROJECT_ROOT |
| 150 | |
| 151 | checker = PlatformTrampolineChecker() |
| 152 | run_checker_standalone( |
| 153 | checker, |
| 154 | [ |
| 155 | str(PROJECT_ROOT / "src" / "fl"), |
| 156 | str(PROJECT_ROOT / "src"), |
| 157 | ], |
| 158 | "Found deep platform header violations", |
| 159 | extensions=[".cpp", ".h", ".hpp"], |
| 160 | ) |
| 161 | |
| 162 | |
| 163 | if __name__ == "__main__": |
no test coverage detected