Skip to content

Commit 5c0a462

Browse files
Use SPDX for all copyright headers (#858)
Issue: rapidsai/build-infra#297 Authors: - Kyle Edwards (https://github.com/KyleFromNVIDIA) Approvers: - Jake Awe (https://github.com/AyodeAwe) - Tianyu Liu (https://github.com/kingcrimsontianyu) - Robert Maynard (https://github.com/robertmaynard) URL: #858
1 parent 0e5aa09 commit 5c0a462

File tree

179 files changed

+416
-1399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+416
-1399
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Copyright (c) 2019-2025, NVIDIA CORPORATION.
1+
# SPDX-FileCopyrightText: Copyright (c) 2019-2025, NVIDIA CORPORATION.
2+
# SPDX-License-Identifier: Apache-2.0
23

34
repos:
45
- repo: https://github.com/pre-commit/pre-commit-hooks
@@ -66,15 +67,21 @@ repos:
6667
^CHANGELOG.md$
6768
)
6869
- repo: https://github.com/rapidsai/pre-commit-hooks
69-
rev: v0.6.0
70+
rev: v1.1.0
7071
hooks:
7172
- id: verify-copyright
73+
args: [--fix, --spdx]
7274
files: |
7375
(?x)
74-
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx)$|
75-
^[.]pre-commit-config[.]yaml$|
76-
CMakeLists[.]txt$|
77-
meta[.]yaml$
76+
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx|pyi|java|bat)$|
77+
^[.]pre-commit-config[.]yaml$|
78+
CMakeLists[.]txt$|
79+
meta[.]yaml$|
80+
pyproject[.]toml$|
81+
recipe[.]yaml$|
82+
dependencies[.]yaml$|
83+
Makefile$|
84+
pom[.]xml$
7885
- id: verify-alpha-spec
7986
- id: verify-codeowners
8087
args: [--fix, --project-prefix=kvikio]

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

3-
# Copyright (c) 2023-2025, NVIDIA CORPORATION.
3+
# SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION.
4+
# SPDX-License-Identifier: Apache-2.0
45

56
# kvikio build script
67

ci/build_cpp.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2023-2025, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34

45
set -euo pipefail
56

ci/build_docs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2023-2025, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34

45
set -euo pipefail
56

ci/build_python.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2023-2025, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34

45
set -euo pipefail
56

ci/build_wheel.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2024-2025, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34

45
set -euo pipefail
56

ci/build_wheel_cpp.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2023-2025, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34

45
set -euo pipefail
56

ci/build_wheel_python.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2023-2025, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34

45
set -euo pipefail
56

ci/check_style.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2020-2025, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2020-2025, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34

45
set -euo pipefail
56

ci/release/update-version.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2022-2025, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2022-2025, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34
##########################
45
# KvikIO Version Updater #
56
##########################

0 commit comments

Comments
 (0)