From 530087e14391be0a8c96ec5eda857ccd809a7c93 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Fri, 3 May 2024 13:34:44 -0700 Subject: [PATCH] add RAPIDS copyright pre-commit hook --- .pre-commit-config.yaml | 4 ++++ python/librmm/CMakeLists.txt | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c266be0bd..d21fcebf8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -81,6 +81,10 @@ repos: hooks: - id: ruff files: python/.*$ + - repo: https://github.com/rapidsai/pre-commit-hooks + rev: v0.0.3 + hooks: + - id: verify-copyright default_language_version: python: python3 diff --git a/python/librmm/CMakeLists.txt b/python/librmm/CMakeLists.txt index 0217eb6fa..a6035ac83 100644 --- a/python/librmm/CMakeLists.txt +++ b/python/librmm/CMakeLists.txt @@ -1,5 +1,5 @@ # ============================================================================= -# Copyright (c) 2022, NVIDIA CORPORATION. +# Copyright (c) 2024, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at @@ -21,7 +21,7 @@ project( VERSION "${RAPIDS_VERSION}" LANGUAGES CXX) -# Check if rmm is already available. If so, it is the user's responsibility to ensure that the CMake +# Check if rmm is already available. If so, it's the user's responsibility to ensure that the CMake # package is also available at build time of the Python rmm package. find_package(rmm "${RAPIDS_VERSION}")