42 lines
1.7 KiB
JSON
42 lines
1.7 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(./venv/Scripts/python.exe -m unittest discover -s tests -p \"test_b03_file_input_router.py\" -v)",
|
|
"Bash(./venv/Scripts/python.exe -m unittest discover -s tests -p \"test_*.py\")",
|
|
"Bash(./venv/Scripts/python.exe -c \"from config import config_db; from B03_FileInput import B03_FileInput_Repository, B03_FileInput_Router; print\\('imports OK'\\)\")",
|
|
"Bash(./venv/Scripts/python.exe -m ruff format config/config_db.py config/config_system.py B03_FileInput/B03_FileInput_Repository.py B03_FileInput/B03_FileInput_Router.py tests/test_b03_file_input_repository.py tests/test_b03_file_input_router.py)",
|
|
"Bash(ruff format *)",
|
|
"Bash(ruff check *)",
|
|
"Bash(./venv/Scripts/python.exe -c ' *)",
|
|
"Bash(npx.cmd tsc *)",
|
|
"Bash(./venv/Scripts/ruff.exe format *)",
|
|
"Bash(./venv/Scripts/ruff.exe check *)",
|
|
"Bash(npx.cmd prettier *)",
|
|
"Bash(npx tsc *)",
|
|
"Bash(./venv/Scripts/python.exe -c \"import ast; ast.parse\\(open\\('B04_wf1_Surface/B04_wf1_Surface_Repository.py',encoding='utf-8'\\).read\\(\\)\\); print\\('OK'\\)\")",
|
|
"Bash(python)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "C:\\Users\\umsan\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\graphify.EXE hook-guard search"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Read|Glob",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "C:\\Users\\umsan\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\graphify.EXE hook-guard read"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |