From ff76f41736dcb2776936dda4980101d07845ae30 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Martineau Date: Sun, 12 Jul 2026 19:07:43 -0400 Subject: [PATCH] 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 --- .claude/settings.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.claude/settings.json b/.claude/settings.json index bae752b..a35c2e4 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -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"