mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-07-30 20:25:57 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
dbfc8a0a11
commit
a03b5074ee
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user