Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
style: remove inline comments from pre-commit hook
Samir Hossains07a792b1f0ce
diff --git a/.githooks/pre-commit b/.githooks/pre-commitindex 1dbe64b..7ec3587 100755--- a/.githooks/pre-commit+++ b/.githooks/pre-commit@@ -1,21 +1,18 @@#!/bin/sh-# Allow bypassing the hook via SKIP_HOOKS=1if [ "$SKIP_HOOKS" = "1" ]; thenecho "⏭️ SKIP_HOOKS is set. Bypassing pre-commit checks..."exit 0fi-# Text color variablesRED='\033[0;31m'GREEN='\033[0;32m'YELLOW='\033[0;33m'BLUE='\033[0;34m'-NC='\033[0m' # No Color+NC='\033[0m'echo "${BLUE}⏳ Running MovieBox-Tui pre-commit checks...${NC}\n"-# 1. Run cargo fmtecho "${YELLOW}🦀 1/2 Checking Code Formatting (cargo fmt)...${NC}"if ! cargo fmt -- --check; thenecho "\n${RED}❌ Error: Code formatting failed!${NC}"@@ -24,7 +21,6 @@ if ! cargo fmt -- --check; thenfiecho "${GREEN}✅ Code formatting is perfect.${NC}\n"-# 2. Run cargo clippyecho "${YELLOW}🦀 2/2 Checking Linter Warnings (cargo clippy)...${NC}"if ! cargo clippy --all-targets --all-features -- -D warnings; thenecho "\n${RED}❌ Error: Clippy found warnings or errors in your code!${NC}"