diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-20 01:22:04 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-21 00:49:12 +0200 |
commit | c147cb2a949d2a5c75804613c45e46c1a2ec8ab1 (patch) | |
tree | b455973c23b4475244fcc5d8b54077a71a1c5126 /run_clang_tidy.py | |
parent | 10ec28c5de9442fe93635ae76ca397d138f9e93c (diff) |
Temporary allocator
Diffstat (limited to 'run_clang_tidy.py')
-rw-r--r-- | run_clang_tidy.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/run_clang_tidy.py b/run_clang_tidy.py index 40d4a5e..76ef959 100644 --- a/run_clang_tidy.py +++ b/run_clang_tidy.py @@ -9,9 +9,10 @@ def has_extension(extensions): return path.suffix in extensions
return f
-ROOTS = ["./deimos", "./game"]
+ROOTS = ["./deimos", "./main"]
for root in ROOTS:
for file in filter(has_extension([".cpp", ".c"]), filter(is_file, pathlib.Path(root).rglob("*"))):
- subprocess.run(["clang-tidy", file, "-header-filter=deimos|game"])
+ print(file)
+ subprocess.run(["clang-tidy", file, "-header-filter=deimos|main"])
|