Skip to content

Commit 71ad820

Browse files
kdw503claude
andcommitted
Add .git-blame-ignore-revs for runic commit and install runic post-edit hook
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent dfd1b02 commit 71ad820

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.claude/settings.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"hooks": {
3+
"PostToolUse": [
4+
{
5+
"matcher": "Edit|Write",
6+
"hooks": [
7+
{
8+
"type": "command",
9+
"command": "python3 -c \"import sys,json; d=json.load(sys.stdin); print(d['tool_input'].get('file_path',''))\" | { read -r f; [[ \"$f\" == *.jl ]] && runic -i \"$f\"; } 2>/dev/null || true",
10+
"statusMessage": "Formatting Julia with Runic..."
11+
}
12+
]
13+
}
14+
]
15+
}
16+
}

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# runic formatting
2+
dfd1b02

0 commit comments

Comments
 (0)