Tobias Pasquale
fix: Remove trailing whitespace and add end-of-file newlines
1589e06
#!/bin/bash
# Quick Format Check Script
# Fast formatting check and auto-fix for common issues
set -e
echo "🎨 Quick Format Check & Fix"
echo "=========================="
# Colors
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
echo -e "${YELLOW}πŸ”§ Running black formatter...${NC}"
black .
echo -e "${YELLOW}πŸ”§ Running isort import sorter...${NC}"
isort .
echo -e "${YELLOW}πŸ” Checking flake8 compliance...${NC}"
if flake8 --max-line-length=88 --exclude venv; then
echo -e "${GREEN}βœ… All formatting checks passed!${NC}"
else
echo "❌ Flake8 issues found. Please fix manually."
exit 1
fi
echo ""
echo -e "${GREEN}πŸŽ‰ Formatting complete! Your code is ready.${NC}"