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 0940856 commit 646071c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
15 changes: 8 additions & 7 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@ cpp/ @rapidsai/kvikio-cpp-codeowners
python/ @rapidsai/kvikio-python-codeowners

#cmake code owners
**/CMakeLists.txt @rapidsai/kvikio-cmake-codeowners
CMakeLists.txt @rapidsai/kvikio-cmake-codeowners
**/cmake/ @rapidsai/kvikio-cmake-codeowners
*.cmake @rapidsai/kvikio-cmake-codeowners
build.sh @rapidsai/kvikio-cmake-codeowners
python/setup.py @rapidsai/kvikio-cmake-codeowners @rapidsai/kvikio-python-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
7 changes: 5 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2024, NVIDIA CORPORATION.
# Copyright (c) 2019-2025, NVIDIA CORPORATION.

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down Expand Up @@ -90,19 +90,22 @@ repos:
^CHANGELOG.md$
)
- 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)$|
^[.]pre-commit-config[.]yaml$|
CMakeLists[.]txt$|
meta[.]yaml$
exclude: |
(?x)^(
cpp/cmake/Modules/FindCUDAToolkit[.]cmake$
)
- id: verify-alpha-spec
- id: verify-codeowners
args: [--fix, --project-prefix=kvikio]
- repo: https://github.com/rapidsai/dependency-file-generator
rev: v1.17.0
hooks:
Expand Down

0 comments on commit 646071c

Please sign in to comment.