From 9d3882d2d84a3a3b48f442d1abd846839eeb0c40 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 30 Aug 2024 10:10:34 +0100 Subject: build: remove pre-commit git hook because it takes to long to run and impacts workflow it was only recently fixed as it didn't have execute permissions --- git_hooks/pre-commit | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 git_hooks/pre-commit (limited to 'git_hooks/pre-commit') diff --git a/git_hooks/pre-commit b/git_hooks/pre-commit deleted file mode 100755 index 5ec9f01..0000000 --- a/git_hooks/pre-commit +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -set -eu - -if ! cargo fmt -- --check -then - echo "There are some code style issues." - echo "Run cargo fmt first." - exit 1 -fi - -if ! cargo clippy --all-targets -- -D warnings -then - echo "There are some clippy issues." - exit 1 -fi - -exit 0 \ No newline at end of file -- cgit v1.2.3