Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
docs: drop redundant manual fmt/clippy steps
Samir Hossainsc5c014ca743e
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.mdindex d4e5083..a4f9659 100644--- a/.github/pull_request_template.md+++ b/.github/pull_request_template.md@@ -4,7 +4,7 @@## Checklist-- [ ] `cargo fmt --all` passes-- [ ] `cargo clippy --all-targets --all-features -- -D warnings` passes- [ ] `cargo build` succeeds- [ ] Docs updated if this changes features, keybindings, or usage++> Formatting and linting are enforced automatically by the pre-commit hook and CI.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 1b44615..9e84cb2 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -58,13 +58,13 @@ new `Action` variant over blocking the UI thread.## Local Checks & Pre-Commit Hook-Before opening a PR, your code must pass formatting and linting rules.+Formatting and linting are enforced automatically: the pre-commit hook (enabled during+setup with `git config core.hooksPath .githooks`) runs `cargo fmt --check` and+`cargo clippy --all-targets --all-features -- -D warnings` on every commit, and the+commit is rejected if either fails. There is no need to run them manually.-Because we enabled the pre-commit hook during setup (`git config core.hooksPath .githooks`), running `git commit` will automatically verify your code by running:-```bash-cargo fmt --all -- --check-cargo clippy --all-targets --all-features -- -D warnings-```+If the hook rejects a commit, run `cargo fmt` to auto-fix the formatting, then stage and+commit again.**Guidelines:**- Follow idiomatic Rust and standard `rustfmt` defaults. Don't hand-format.diff --git a/README.md b/README.mdindex 89589dc..1fd0145 100644--- a/README.md+++ b/README.md@@ -330,11 +330,11 @@ Then try the installation command again.## Development-Before submitting changes, ensure your code is formatted, linted, audited for security vulnerabilities, and packages correctly:+Formatting and linting are enforced automatically by the pre-commit hook on every+commit (see [CONTRIBUTING.md](CONTRIBUTING.md)); there is no need to run them manually.+Before opening a PR, also run the CI-only checks:```bash-cargo fmt --check-cargo clippy --all-targets --locked -- -D warningscargo auditcargo package --locked```