Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add rapids-dependency-file-generator pre-commmit hook (#682)
Proposes adding a pre-commit hook to run `rapids-dependency-file-generator`. With that change, local `pre-commit` and CI will raise an error if changes have been made in `dependencies.yaml` that would affect any other files checked into the repo, like the conda envs in https://github.com/rapidsai/cucim/tree/branch-24.02/conda/environments. ### How I tested this Changed a `cmake` version constraint in `dependencies.yaml`. Ran `pre-commit run --all-files`. Observed the expected failure. <img width="617" alt="image" src="https://github.com/rapidsai/cucim/assets/7608904/4a10092b-2cb0-42cd-a306-b6c2fdf66563"> Reverted that change, ran `pre-commit run --all-files` again, saw everything pass. Authors: - James Lamb (https://github.com/jameslamb) - https://github.com/jakirkham Approvers: - https://github.com/jakirkham - Bradley Dice (https://github.com/bdice) - Ray Douglass (https://github.com/raydouglass) - Gregory Lee (https://github.com/grlee77) URL: #682
- Loading branch information