Skip to content

Commit 7899475

Browse files
author
xwei19
committed
Fix lint check
1 parent ebc90c0 commit 7899475

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

taskfiles/lint-cpp.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ tasks:
1717
desc: "Runs the C++ linters that identify formatting issues."
1818
sources: &cpp_format_src_files
1919
- "{{.G_LINT_VENV_CHECKSUM_FILE}}"
20-
- "{{.G_CPP_SRC_DIR}}/**/*.cpp"
21-
- "{{.G_CPP_SRC_DIR}}/**/*.h"
22-
- "{{.G_CPP_SRC_DIR}}/**/*.hpp"
20+
- "{{.G_CPP_SRC_DIR}}"
2321
- "{{.ROOT_DIR}}/.clang-format"
2422
- "{{.TASKFILE}}"
2523
deps:
@@ -59,9 +57,7 @@ tasks:
5957
- "{{.G_CMAKE_CACHE}}"
6058
- "{{.G_COMPILE_COMMANDS_DB}}"
6159
- "{{.G_LINT_VENV_CHECKSUM_FILE}}"
62-
- "{{.G_CPP_SRC_DIR}}/**/*.cpp"
63-
- "{{.G_CPP_SRC_DIR}}/**/*.h"
64-
- "{{.G_CPP_SRC_DIR}}/**/*.hpp"
60+
- "{{.G_CPP_SRC_DIR}}"
6561
- "{{.ROOT_DIR}}/.clang-tidy"
6662
- "{{.TASKFILE}}"
6763
deps:

0 commit comments

Comments
 (0)