Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
fix(dev): align hook with ci gate
Samir Hossainsb9fc65a04731
diff --git a/.githooks/pre-commit b/.githooks/pre-commitindex 7ec3587..427cef8 100755--- a/.githooks/pre-commit+++ b/.githooks/pre-commit@@ -22,7 +22,7 @@ fiecho "${GREEN}✅ Code formatting is perfect.${NC}\n"echo "${YELLOW}🦀 2/2 Checking Linter Warnings (cargo clippy)...${NC}"-if ! cargo clippy --all-targets --all-features -- -D warnings; then+if ! cargo clippy --all-targets --locked -- -D warnings; thenecho "\n${RED}❌ Error: Clippy found warnings or errors in your code!${NC}"echo "${RED}Please fix the warnings above before committing.${NC}"exit 1diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 312a814..5a250a9 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -60,7 +60,7 @@ new `Action` variant over blocking the UI thread.Formatting and linting are enforced automatically: the pre-commit hook (enabled duringsetup with `git config core.hooksPath .githooks`) runs `cargo fmt --check` and-`cargo clippy --all-targets --all-features -- -D warnings` on every commit, and the+`cargo clippy --all-targets --locked -- -D warnings` on every commit, and thecommit is rejected if either fails. There is no need to run them manually.If the hook rejects a commit, run `cargo fmt` to auto-fix the formatting, then stage and