Files
umami-analytics-mcp/.claude/settings.json
T
dasemuandClaude Sonnet 5 1153efcc33 chore: bootstrap Claude setup
Add root CLAUDE.md, docs/, LESSONS.md, .env.example, project hooks
(.claude/settings.json) and CI workflows (lint/test + versioning), per
the standard repo bootstrap. No lint/test tooling exists yet, so hooks
and CI only run a py_compile sanity check; CI/versioning target the
development/main branch convention even though development does not
exist yet. Deployment stays on Nixpacks for now (flagged in LESSONS.md
pending a decision on migrating to the standard LXC/VPS+systemd setup).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-18 15:08:50 +02:00

26 lines
558 B
JSON

{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "f=$(cat | python3 -c 'import json,sys;print(json.load(sys.stdin).get(\"tool_input\",{}).get(\"file_path\",\"\"))'); case \"$f\" in *.py) python3 -m py_compile \"$f\" ;; esac"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 -m py_compile server.py"
}
]
}
]
}
}