You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like for it to be easy to run the CMake linters locally. The details of the request were originally posted in rapidsai/cudf#9396.
Describe the solution you'd like
A port of the solution from rapidsai/cudf#9484 would enable local cmake-format runs either via script or through pre-commit.
The text was updated successfully, but these errors were encountered:
This PR adds a script to find the cmake-format-rapids-cmake.json file in a standard location and run the cmake-format or cmake-lint programs with that config file. The script fails gracefully when the file cannot be found and is therefore suitable for use as a pre-commit hook in scenarios where no build directory (containing the config file) exists yet. A corresponding pre-commit configuration is added here as well, replacing the old cmake-format hook which did not use the rapids-cmake config file.
Resolves#903.
Authors:
- Vyas Ramasubramani (https://github.com/vyasr)
Approvers:
- Mark Harris (https://github.com/harrism)
- Robert Maynard (https://github.com/robertmaynard)
- Rong Ou (https://github.com/rongou)
URL: #913
Is your feature request related to a problem? Please describe.
I'd like for it to be easy to run the CMake linters locally. The details of the request were originally posted in rapidsai/cudf#9396.
Describe the solution you'd like
A port of the solution from rapidsai/cudf#9484 would enable local cmake-format runs either via script or through pre-commit.
The text was updated successfully, but these errors were encountered: