From 79308eabea6129772911859ab19ad8b792fe838f Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Wed, 29 Jan 2025 15:49:14 -0500 Subject: [PATCH 1/2] Add verify-codeowners hook Issue: https://github.com/rapidsai/pre-commit-hooks/issues/61 --- .github/CODEOWNERS | 15 ++++++++------- .pre-commit-config.yaml | 4 +++- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a7f455e200..d739f962d7 100755 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -5,8 +5,9 @@ cpp/ @rapidsai/raft-cpp-codeowners python/ @rapidsai/raft-python-codeowners #cmake code owners -**/CMakeLists.txt @rapidsai/raft-cmake-codeowners +CMakeLists.txt @rapidsai/raft-cmake-codeowners **/cmake/ @rapidsai/raft-cmake-codeowners +*.cmake @rapidsai/raft-cmake-codeowners python/setup.py @rapidsai/raft-cmake-codeowners build.sh @rapidsai/raft-cmake-codeowners **/build.sh @rapidsai/raft-cmake-codeowners @@ -14,11 +15,11 @@ build.sh @rapidsai/raft-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 6dfcc72417..56b9061597 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -107,7 +107,7 @@ repos: hooks: - id: check-json - repo: https://github.com/rapidsai/pre-commit-hooks - rev: v0.4.0 + rev: v0.5.0 hooks: - id: verify-copyright files: | @@ -122,6 +122,8 @@ repos: cpp/include/raft/thirdparty/| docs/source/sphinxext/github_link[.]py| - id: verify-alpha-spec + - id: verify-codeowners + args: [--fix, --project-prefix=raft] - repo: https://github.com/rapidsai/dependency-file-generator rev: v1.17.0 hooks: From 82ebd8cf92b3285ec4ec2ba8d46ebd2d4600e30a Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Thu, 20 Feb 2025 10:08:03 -0500 Subject: [PATCH 2/2] Re-run CI