From: Nutomic Date: Tue, 1 Feb 2022 00:20:31 +0000 (+0000) Subject: Remove commit hook (#2078) X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/%7Bthis.props.imageSrc%7D?a=commitdiff_plain;h=2fa47aaef9953cb9665a48c44ed40c45d3d9e5dc;p=lemmy.git Remove commit hook (#2078) --- diff --git a/.cargo-husky/hooks/pre-commit b/.cargo-husky/hooks/pre-commit deleted file mode 100755 index 465e7d77..00000000 --- a/.cargo-husky/hooks/pre-commit +++ /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 diff --git a/Cargo.lock b/Cargo.lock index 4d33d21f..706994b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index 5dfcdf09..1b367d7e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"]