diff --git a/ci/run_clang_tidy.sh b/ci/run_clang_tidy.sh index e353a8c6a8..797a0abd1f 100755 --- a/ci/run_clang_tidy.sh +++ b/ci/run_clang_tidy.sh @@ -19,4 +19,4 @@ set +u && conda activate clang_tidy && set -u rapids-logger "Run clang-tidy" -python cpp/scripts/run-clang-tidy.py +python cpp/scripts/run-clang-tidy.py -ignore '[.]cu$|_deps|examples/kmeans/' diff --git a/cpp/scripts/run-clang-tidy.py b/cpp/scripts/run-clang-tidy.py index 2f92c7e535..092cff67a2 100755 --- a/cpp/scripts/run-clang-tidy.py +++ b/cpp/scripts/run-clang-tidy.py @@ -47,7 +47,7 @@ def parse_args(): argparser.add_argument( "-ignore", type=str, - default="[.]cu$|examples/kmeans/", + default="[.]cu$", help="Regex used to ignore files from checking", ) argparser.add_argument(