Skip to content
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ repos:
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx)$|
CMakeLists[.]txt$|
meta[.]yaml$
exclude: |
(?x)^(
^cpp/tests/utilities/cxxopts.hpp
)
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v20.1.4
hooks:
Expand Down
2 changes: 1 addition & 1 deletion cpp/tests/utilities/base_fixture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ inline auto parse_test_options(int argc, char** argv)
"rmm_mode", "RMM allocation mode", cxxopts::value<std::string>()->default_value("pool"));

return options.parse(argc, argv);
} catch (const cxxopts::OptionException& e) {
} catch (const std::exception& e) {
cuopt_assert(false, "Error parsing command line options");
}

Expand Down
Loading