]> Untitled Git - lemmy.git/commitdiff
Remove commit hook (#2078)
authorNutomic <me@nutomic.com>
Tue, 1 Feb 2022 00:20:31 +0000 (00:20 +0000)
committerGitHub <noreply@github.com>
Tue, 1 Feb 2022 00:20:31 +0000 (19:20 -0500)
.cargo-husky/hooks/pre-commit [deleted file]
Cargo.lock
Cargo.toml

diff --git a/.cargo-husky/hooks/pre-commit b/.cargo-husky/hooks/pre-commit
deleted file mode 100755 (executable)
index 465e7d7..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-set -e
-
-cargo +nightly fmt -- --check
-
-cargo clippy --workspace --tests --all-targets --all-features -- \
-    -D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro
-cargo clippy --workspace -- \
-    -D clippy::unwrap_used
index 4d33d21fe62e1fb644e863f6938a602543edcfcb..706994b69aad249861e61a042969c29c2e244049 100644 (file)
@@ -585,12 +585,6 @@ dependencies = [
  "serde_json",
 ]
 
-[[package]]
-name = "cargo-husky"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b02b629252fe8ef6460461409564e2c21d0c8e77e0944f3d189ff06c4e932ad"
-
 [[package]]
 name = "cc"
 version = "1.0.72"
@@ -2076,7 +2070,6 @@ dependencies = [
  "actix-rt",
  "actix-web",
  "anyhow",
- "cargo-husky",
  "chrono",
  "clokwerk",
  "console-subscriber",
index 5dfcdf09605f2d4336b82b8d53995ae94cecbc33..1b367d7eabb8e0197baa3ce58d2bbe642b43167e 100644 (file)
@@ -71,11 +71,3 @@ doku = "0.10.2"
 opentelemetry = { version = "0.16", features = ["rt-tokio"] }
 opentelemetry-otlp = "0.9"
 tracing-opentelemetry = "0.16"
-
-[dev-dependencies.cargo-husky]
-version = "1.5.0"
-default-features = false # Disable features which are enabled by default
-features = ["user-hooks"]
-
-[package.metadata.cargo-udeps.ignore]
-development = ["cargo-husky"]