diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..33ef122 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,25 @@ +{ + "permissions": { + "allow": [ + "Bash(python -m ruff check src/ tests/ --fix)", + "Bash(python -m ruff format src/ tests/)", + "Bash(python -m mypy src/)", + "Bash(python -m pytest tests/)", + "Bash(python -m pytest tests/*)" + ], + "deny": [] + }, + "hooks": { + "PostToolUse": [ + { + "hooks": [ + { + "type": "command", + "command": "python -m ruff check src/ tests/ --fix && python -m ruff format src/ tests/" + } + ], + "matcher": "Edit|Write|MultiEdit" + } + ] + } +} \ No newline at end of file