summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed Hegazy <mhegazy@anthropic.com>2026-12-04 23:46:32 +0000
committerClaude <noreply@anthropic.com>2026-12-04 23:46:32 +0000
commit01c9daf1c75cc547d4eb94c192cdd3ca75b06279 (patch)
tree37771dc77982ac1b5a97424c88d1bf97f81f54b8
parent507b6cbbfd654603a962d8d914e47b7d9d5f224d (diff)
security-guidance: add the copyright header to the remaining filesmhegazy/sg-copyright-headers
Co-authored-by: mhegazy <mhegazy@anthropic.com>
-rw-r--r--plugins/security-guidance/hooks/reporesolve.py3
-rw-r--r--plugins/security-guidance/tests/test_json_reply.py3
-rw-r--r--plugins/security-guidance/tests/test_named_folders.py3
3 files changed, 9 insertions, 0 deletions
diff --git a/plugins/security-guidance/hooks/reporesolve.py b/plugins/security-guidance/hooks/reporesolve.py
index 7bad31e3..a6044d74 100644
--- a/plugins/security-guidance/hooks/reporesolve.py
+++ b/plugins/security-guidance/hooks/reporesolve.py
@@ -1,3 +1,6 @@
+# Copyright 2026 Anthropic, PBC
+# SPDX-License-Identifier: Apache-2.0
+
import itertools
import os
import re
diff --git a/plugins/security-guidance/tests/test_json_reply.py b/plugins/security-guidance/tests/test_json_reply.py
index 7e5f3423..225d182c 100644
--- a/plugins/security-guidance/tests/test_json_reply.py
+++ b/plugins/security-guidance/tests/test_json_reply.py
@@ -1,3 +1,6 @@
+# Copyright 2026 Anthropic, PBC
+# SPDX-License-Identifier: Apache-2.0
+
"""A verdict that a gateway's model puts in a code fence is read (#6928), as the
whole reply only: in a longer text an object may be quoted from the code."""
import io
diff --git a/plugins/security-guidance/tests/test_named_folders.py b/plugins/security-guidance/tests/test_named_folders.py
index 0fe5325e..82d41288 100644
--- a/plugins/security-guidance/tests/test_named_folders.py
+++ b/plugins/security-guidance/tests/test_named_folders.py
@@ -1,3 +1,6 @@
+# Copyright 2026 Anthropic, PBC
+# SPDX-License-Identifier: Apache-2.0
+
"""Where the repository read off a command does not have the commit, the other
folders the command names are looked at (#7161)."""
import os