Skip to content

Commit 1f004eb

Browse files
fix: Harrison/fix spdx headers (#6)
* fix: turn off copyright checks on txt as that is data Signed-off-by: Harrison King Saturley-Hall <hsaturleyhal@nvidia.com> * fix: add spdx identifiers to missing files Signed-off-by: Harrison King Saturley-Hall <hsaturleyhal@nvidia.com> * fix: add whitespace to spdx headers of empty files Signed-off-by: Harrison King Saturley-Hall <hsaturleyhal@nvidia.com> --------- Signed-off-by: Harrison King Saturley-Hall <hsaturleyhal@nvidia.com>
1 parent 86fef36 commit 1f004eb

File tree

12 files changed

+18
-9
lines changed

12 files changed

+18
-9
lines changed

.github/workflows/copyright-check.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $timer = [System.Diagnostics.Stopwatch]::StartNew()
1414

1515
$global:copyright_matchers = @(
1616
@{
17-
files = @('.containerfile', '.dockerignore', '.pbtxt', '.ps1', '.py', '.sh', '.toml', '.tpl', '.txt', '.yaml', '.yml', 'Dockerfile')
17+
files = @('.containerfile', '.dockerignore', '.pbtxt', '.ps1', '.py', '.sh', '.toml', '.tpl', '.yaml', '.yml', 'Dockerfile')
1818
found_missing = $false
1919
matches = @(
2020
'# SPDX-FileCopyrightText: Copyright (c) ' + $date_key + ' NVIDIA CORPORATION & AFFILIATES. All rights reserved.'

docker/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2+
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
FROM nvcr.io/nvidia/base/ubuntu:jammy-20250619 AS base
26

37
WORKDIR /workspace

src/aiconfigurator/cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2-
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-License-Identifier: Apache-2.0

src/aiconfigurator/cli/helpers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import os
25
import sys
36
import yaml
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2-
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-License-Identifier: Apache-2.0

tests/__init__

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0

tests/cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2-
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-License-Identifier: Apache-2.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2-
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-License-Identifier: Apache-2.0

tests/cli/workflow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2-
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-License-Identifier: Apache-2.0

tests/sdk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2-
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-License-Identifier: Apache-2.0

0 commit comments

Comments
 (0)