Skip to content

Commit dee5916

Browse files
GeneAIclaude
authored andcommitted
fix: Exclude docs/ and examples/ from detect-secrets
Documentation and example files contain intentional example credentials for illustration purposes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent c6858e6 commit dee5916

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ repos:
6464
empathy_llm_toolkit/security/secrets_detector\.py$|
6565
empathy_llm_toolkit/security/secure_memdocs_example\.py$|
6666
demo_security_complete\.py$|
67+
docs/|
68+
examples/|
6769
anthropic-cookbook/
6870
)
6971

0 commit comments

Comments
 (0)