Skip to content

Commit

Permalink
Make hook suitable for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Oct 1, 2024
1 parent b9bad62 commit 58e62d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ repos:
- clang-tidy==19.1.0
pass_filenames: false
stages: [manual]
verbose: true
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
Expand Down
2 changes: 1 addition & 1 deletion cpp/scripts/run-clang-tidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ if [ ! -f "${CUDF_BUILD_DIR}/compile_commands.json" ]; then
fi


find cpp/{src,tests} -name *.cpp | grep -v -E ".*(cpu_unbz2.cpp|brotli_dict.cpp).*" | head -1 | xargs -n 1 clang-tidy -p ${CUDF_BUILD_DIR} --extra-arg="-Qunused-arguments" > out 2>&1
find cpp/{src,tests} -name *.cpp | grep -v -E ".*(cpu_unbz2.cpp|brotli_dict.cpp).*" | xargs -n 1 -P 10 clang-tidy -p ${CUDF_BUILD_DIR} --extra-arg="-Qunused-arguments"

0 comments on commit 58e62d1

Please sign in to comment.