Allowlist pytest and git add/commit so routine runs stop prompting
Generalizes the one-off pytest entries to prefix rules across the python spellings actually used (python, venv exe, Bash and PowerShell) and covers the commit workflow CLAUDE.md already sanctions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
060f4b1eb6
commit
ff76f41736
1 file changed
+13
@@ -1,5 +1,18 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(python -)",
|
||||
"Bash(python -m pytest *)",
|
||||
"Bash(.venv/Scripts/python.exe -m pytest *)",
|
||||
"Bash(./.venv/Scripts/python.exe -m pytest *)",
|
||||
"PowerShell(python -m pytest *)",
|
||||
"PowerShell(.venv\\Scripts\\python.exe -m pytest *)",
|
||||
"PowerShell(.\\.venv\\Scripts\\python.exe -m pytest *)",
|
||||
"Bash(git add *)",
|
||||
"Bash(git commit *)",
|
||||
"PowerShell(git add *)",
|
||||
"PowerShell(git commit *)"
|
||||
],
|
||||
"defaultMode": "dontAsk",
|
||||
"additionalDirectories": [
|
||||
"C:\\Users\\user\\.config\\meshterm\\output"
|
||||
|
||||
Reference in new issue
Block a user