diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-18 23:24:11 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-18 23:24:11 +0200 |
| commit | a9a3a7af754f370e6d4a045523d8dbeef2d3cbfa (patch) | |
| tree | 9c330c9eac57b16032c7253bbb7afabe513efc00 /.claude/hooks/black-format.sh | |
| parent | a3bda6006917c9559dfe4d07a607ed601678b829 (diff) | |
| download | dotfiles-a9a3a7af754f370e6d4a045523d8dbeef2d3cbfa.tar.gz dotfiles-a9a3a7af754f370e6d4a045523d8dbeef2d3cbfa.zip | |
feat(claude): track CLAUDE.md, settings, agents, hooks, skills
Diffstat (limited to '.claude/hooks/black-format.sh')
| -rwxr-xr-x | .claude/hooks/black-format.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.claude/hooks/black-format.sh b/.claude/hooks/black-format.sh new file mode 100755 index 0000000..21fef5e --- /dev/null +++ b/.claude/hooks/black-format.sh @@ -0,0 +1,5 @@ +#!/bin/bash +file_path=$(jq -r '.tool_input.file_path') +if [[ "$file_path" =~ \.py$ ]]; then + black -q "$file_path" +fi |
