.claude/settings.json is tracked, so it goes public with the repository and applies to anyone who opens it in Claude Code. It carried JP's own working allowlist -- one-off test invocations, a `python -c` wildcard, a console beep -- and "defaultMode": "dontAsk", which would have quietly changed how Claude Code behaves for a contributor. All of that moved to the gitignored settings.local.json on JP's machine, where Claude Code still reads it, so nothing changes for him. What stays shared is what a contributor actually needs to be allowed without asking: the three gates CONTRIBUTING promises, pytest, ruff check and ruff format. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
15 lines
324 B
JSON
15 lines
324 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(python -m pytest *)",
|
|
"Bash(python -m ruff check *)",
|
|
"Bash(python -m ruff format *)",
|
|
"Bash(ruff check *)",
|
|
"Bash(ruff format *)",
|
|
"PowerShell(python -m pytest *)",
|
|
"PowerShell(ruff check *)",
|
|
"PowerShell(ruff format *)"
|
|
]
|
|
}
|
|
}
|