Skip to content

Commit 842517d

Browse files
h4x3rotabclaude
andcommitted
chore: fix reuse lint errors for dependency files
- Add precedence override for openzeppelin-foundry-upgrades and forge-std to handle invalid SPDX expressions in vendored dependencies - Add missing annotations for kms/auth-simple config files - Add override for scripts/add-spdx-attribution.py to prevent false positive SPDX detection from script content 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c3b6acb commit 842517d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

REUSE.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ path = [
2727
"**/package-lock.json",
2828
"kms/auth-eth/.openzeppelin/unknown-2035.json",
2929
"kms/auth-mock/.oxlintrc.json",
30+
"kms/auth-simple/.oxlintrc.json",
31+
"kms/auth-simple/auth-config.example.json",
3032
"sdk/simulator/*.json",
3133
"sdk/go/go.sum",
3234
"kms/dstack-app/builder/shared/kms-pinned-packages.txt",
@@ -84,6 +86,14 @@ path = [
8486
SPDX-FileCopyrightText = "Copyright (c) 2024-2025 The Project Contributors"
8587
SPDX-License-Identifier = "Apache-2.0"
8688

89+
# Scripts with SPDX-like content (false positive prevention)
90+
91+
[[annotations]]
92+
path = "scripts/add-spdx-attribution.py"
93+
SPDX-FileCopyrightText = "© 2025 Phala Network <dstack@phala.network>"
94+
SPDX-License-Identifier = "Apache-2.0"
95+
precedence = "override"
96+
8797
# Vendor code
8898

8999
[[annotations]]
@@ -96,11 +106,13 @@ precedence = "override"
96106
path = "kms/auth-eth/lib/openzeppelin-foundry-upgrades/**"
97107
SPDX-FileCopyrightText = "NONE"
98108
SPDX-License-Identifier = "MIT"
109+
precedence = "override"
99110

100111
[[annotations]]
101112
path = "kms/auth-eth/lib/forge-std/**"
102113
SPDX-FileCopyrightText = "NONE"
103114
SPDX-License-Identifier = "Apache-2.0"
115+
precedence = "override"
104116

105117
[[annotations]]
106118
path = "tdx-attest-sys/csrc/*"

0 commit comments

Comments
 (0)