From 200796bb168f8b524f9a823089f616cd18f9c57b Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Wed, 29 Jan 2025 11:46:47 -0500 Subject: [PATCH] Add verify-codeowners hook Issue: https://github.com/rapidsai/pre-commit-hooks/issues/61 --- .github/CODEOWNERS | 12 ++++++------ .pre-commit-config.yaml | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 23d782bb99..edda69afb9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -12,11 +12,11 @@ CMakeLists.txt @rapidsai/cuml-cmake-codeowners #CI code owners /.github/ @rapidsai/ci-codeowners /ci/ @rapidsai/ci-codeowners -/.pre-commit-config.yaml @rapidsai/ci-codeowners #packaging code owners -/.devcontainer/ @rapidsai/packaging-codeowners -/conda/ @rapidsai/packaging-codeowners -/dependencies.yaml @rapidsai/packaging-codeowners -/build.sh @rapidsai/packaging-codeowners -pyproject.toml @rapidsai/packaging-codeowners +/.pre-commit-config.yaml @rapidsai/packaging-codeowners +/.devcontainer/ @rapidsai/packaging-codeowners +/conda/ @rapidsai/packaging-codeowners +dependencies.yaml @rapidsai/packaging-codeowners +/build.sh @rapidsai/packaging-codeowners +pyproject.toml @rapidsai/packaging-codeowners diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ce60fe6f4..af10072a43 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -65,7 +65,7 @@ repos: pass_filenames: false language: python - repo: https://github.com/rapidsai/pre-commit-hooks - rev: v0.4.0 + rev: v0.5.0 hooks: - id: verify-copyright files: | @@ -80,6 +80,8 @@ repos: cpp/src/tsne/cannylab/bh[.]cu$| python/cuml/cuml/_thirdparty - id: verify-alpha-spec + - id: verify-codeowners + args: [--fix, --project-prefix=cuml] - repo: https://github.com/rapidsai/dependency-file-generator rev: v1.17.0 hooks: