Skip to content

Commit 7484ffc

Browse files
committed
Include headers to clang-tidy
1 parent 35637ce commit 7484ffc

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

tools/precommit/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ENV CMAKE_ARGS=${CMAKE_ARGS}
5353
ENV CLANG_TIDY_EXTRA_ARGS=${CLANG_TIDY_EXTRA_ARGS}
5454
ENV STRICT_CLANG_TIDY=${STRICT_CLANG_TIDY}
5555

56-
RUN python3 /repo/tools/precommit/make-pretty.py
56+
RUN python3 /repo/tools/precommit/make_pretty.py
5757

5858
FROM scratch AS export
5959
COPY --from=pretty /out/ /
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
}
2121

2222
tidy_source_exts = {
23-
".cc", ".cpp", ".cxx", ".c++",
23+
".c", ".cc", ".cpp", ".cxx", ".c++",
24+
".h", ".hh", ".hpp", ".hxx",
25+
".ipp", ".tpp",
26+
".cu", ".cuh",
2427
}
2528

2629
exclude_names = {

0 commit comments

Comments
 (0)