Skip to content

Commit

Permalink
Add verify-codeowners hook
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Jan 31, 2025
1 parent a26c5c9 commit e8bf339
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#cmake code owners
**/CMakeLists.txt @rapidsai/rapids-cmake-codeowners
CMakeLists.txt @rapidsai/rapids-cmake-codeowners
*.cmake @rapidsai/rapids-cmake-codeowners
**/cmake/ @rapidsai/rapids-cmake-codeowners
/docs/ @rapidsai/rapids-cmake-codeowners
/example/ @rapidsai/rapids-cmake-codeowners
/rapids-cmake/ @rapidsai/rapids-cmake-codeowners
Expand All @@ -9,11 +10,11 @@
#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
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,16 @@ repos:
^rapids-cmake/.*$
)
- repo: https://github.com/rapidsai/pre-commit-hooks
rev: v0.4.0
rev: v0.6.0
hooks:
- id: verify-copyright
files: |
(?x)
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx)$|
CMakeLists[.]txt$|
meta[.]yaml$
- id: verify-codeowners
args: [--fix, --project-prefix=rapids, --no-cpp, --no-python]

default_language_version:
python: python3

0 comments on commit e8bf339

Please sign in to comment.