From a03b5074eeba084e9973ca4d7063aa2a772285d8 Mon Sep 17 00:00:00 2001 From: Sean Whalen <44679+seanthegeek@users.noreply.github.com> Date: Sun, 26 Jul 2026 14:42:25 -0400 Subject: [PATCH] Allowlist the current test/lint/type-check command forms (#861) The existing pytest allow rules all reference the retired tests.py monolith and never match anymore, so every test run prompts. Add the forms actually in use (pytest/.venv/bin/pytest, with and without the GITHUB_ACTIONS=true offline prefix), the venv-path pyright that auto-allow doesn't recognize, and the two exact pinned python -m ruff check forms. Derived from a 50-session transcript scan; read-only or test-scoped commands only. Co-authored-by: Claude Fable 5 --- .claude/settings.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.claude/settings.json b/.claude/settings.json index 07e74734..04b2ac6d 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -9,7 +9,14 @@ "Bash(ls tests*)", "Bash(GITHUB_ACTIONS=true python -m pytest --cov tests.py -x)", "Bash(GITHUB_ACTIONS=true python -m pytest tests.py -x -v)", - "Bash(python -m pytest tests.py --no-header -q)" + "Bash(python -m pytest tests.py --no-header -q)", + "Bash(pytest *)", + "Bash(.venv/bin/pytest *)", + "Bash(GITHUB_ACTIONS=true pytest *)", + "Bash(GITHUB_ACTIONS=true .venv/bin/pytest *)", + "Bash(.venv/bin/pyright *)", + "Bash(.venv/bin/python -m ruff check .)", + "Bash(.venv/bin/python -m ruff format --check .)" ], "additionalDirectories": [ "/tmp"