Enforce canonical copyright wording#120
Merged
rapids-bot[bot] merged 2 commits intorapidsai:mainfrom Feb 20, 2026
Merged
Conversation
All new copyright wording must be in the approved OSRB form. Existing copyright statements can be reworded to the new form even if the file content has not been updated. Unchanged copyright notices are not forced to the new form.
jameslamb
approved these changes
Feb 20, 2026
Member
jameslamb
left a comment
There was a problem hiding this comment.
Looks good!
I checked internally and confirmed this is the preferred language.
I tried testing this in cuVS like this:
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 5e99298f..dfa3b431 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,4 +1,4 @@
-# SPDX-FileCopyrightText: Copyright (c) 2022-2026, NVIDIA CORPORATION.
+# SPDX-FileCopyrightText: Copyright (c) 2022-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
repos:
@@ -99,8 +99,8 @@ repos:
(?x)
^CHANGELOG[.]md$|
^cpp/cmake/patches/cutlass/build-export[.]patch$
- - repo: https://github.com/rapidsai/pre-commit-hooks
- rev: v1.3.3
+ - repo: https://github.com/KyleFromNVIDIA/pre-commit-hooks
+ rev: 462b013826494e201b10b5832db700e6c324c329
hooks:
- id: verify-copyright
name: verify-copyright-cuvsAnd a couple variations of file changes:
- file that already has the desired copyright text in it
- file that has non-NVIDIA copyright headers too
- file that does not have the desired copyright text in it
- mix of Python comments (
#) and C++ multi-line comments (/* ... */)
All worked without issue.
Member
Author
|
/merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All new copyright wording must be in the approved OSRB form. Existing copyright statements can be reworded to the new form even if the file content has not been updated. Unchanged copyright notices are not forced to the new form.