Skip to content

Commit 35514bc

Browse files
feat: add claude settings
including targeted pre-commit hooks
1 parent 1fce9ad commit 35514bc

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(ruff:*)",
5+
"Bash(pytest:*)",
6+
"Bash(python:*)",
7+
"Bash(pre-commit:*)",
8+
"Bash(uv:*)"
9+
],
10+
"deny": [ ]
11+
},
12+
"hooks": {
13+
"PostToolUse": [
14+
{
15+
"matcher": "Edit|MultiEdit|Write",
16+
"hooks": [
17+
{
18+
"type": "command",
19+
"command": "git diff --name-only HEAD | xargs -r pre-commit run --files"
20+
}
21+
]
22+
}
23+
]
24+
}
25+
}

0 commit comments

Comments
 (0)