Run static in headers checker standalone.
()
| 156 | |
| 157 | |
| 158 | def main() -> None: |
| 159 | """Run static in headers checker standalone.""" |
| 160 | from ci.util.check_files import run_checker_standalone |
| 161 | from ci.util.paths import PROJECT_ROOT |
| 162 | |
| 163 | checker = StaticInHeaderChecker() |
| 164 | run_checker_standalone( |
| 165 | checker, |
| 166 | [str(PROJECT_ROOT / "src")], |
| 167 | "Found function-local static variables in headers", |
| 168 | extensions=[".h", ".hpp"], |
| 169 | ) |
| 170 | |
| 171 | |
| 172 | if __name__ == "__main__": |
no test coverage detected