Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .claude/hooks/post-edit-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ if [[ -z "$file_path" || ! -f "$file_path" ]]; then
fi

if [[ "$file_path" == *.py ]]; then
uv run prek --files "$file_path" 2>/dev/null || true
# First run auto-fixes formatting; second run catches real lint errors
uv run prek --files "$file_path" 2>/dev/null || uv run prek --files "$file_path"
fi
Loading
Loading