Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 3 additions & 1 deletion src/dev_tools_hooks/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# Runs custom commands from .dev-hooks.yml (lint, type check, format, etc.)
# Optionally filtered by file types

DEV_HOOKS_VERSION="1.2.0"

# Colors optimized for macOS Terminal
RED='\x1b[31m'
GREEN='\x1b[32m'
Expand Down Expand Up @@ -243,7 +245,7 @@ run_commands() {

echo ""
echo -e "${CYAN}${BOLD}┌──────────────────────────────────────────────────────────────┐${NC}"
echo -e "${CYAN}${BOLD}│ Running pre-commit checks... │${NC}"
echo -e "${CYAN}${BOLD}│ Running pre-commit checks... ${DIM}v${DEV_HOOKS_VERSION}${NC}${CYAN}${BOLD} │${NC}"
echo -e "${CYAN}${BOLD}└──────────────────────────────────────────────────────────────┘${NC}"
echo ""

Expand Down
4 changes: 3 additions & 1 deletion src/dev_tools_hooks/hooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# 1. Validates branch names (ClickUp ID or conventional format)
# 2. Runs custom commands from .dev-hooks.yml config file (optionally filtered by file types)

DEV_HOOKS_VERSION="1.2.0"

# Colors optimized for macOS Terminal
RED='\x1b[31m'
GREEN='\x1b[32m'
Expand Down Expand Up @@ -377,7 +379,7 @@ run_commands() {

echo ""
echo -e "${CYAN}${BOLD}┌──────────────────────────────────────────────────────────────┐${NC}"
echo -e "${CYAN}${BOLD}│ Running pre-push checks... │${NC}"
echo -e "${CYAN}${BOLD}│ Running pre-push checks... ${DIM}v${DEV_HOOKS_VERSION}${NC}${CYAN}${BOLD} │${NC}"
echo -e "${CYAN}${BOLD}└──────────────────────────────────────────────────────────────┘${NC}"
echo ""

Expand Down
Loading