From 94a2c81ff40065388caef3003966c1a1d2b7c90b Mon Sep 17 00:00:00 2001 From: Alex Reinking Date: Tue, 14 Feb 2023 18:00:03 -0500 Subject: [PATCH] drop stale githooks directory --- githooks/pre-commit | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 githooks/pre-commit diff --git a/githooks/pre-commit b/githooks/pre-commit deleted file mode 100755 index 6a8f6dbf5..000000000 --- a/githooks/pre-commit +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -# Redirect output to stderr. -exec 1>&2 - -NB_FILES=$(git diff --cached --name-only --diff-filter=ACMR | - grep ".*ipynb$") - -while IFS= read -r line -do - if [ -f "$line" ] - then - jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace "$line" - git add "$line" - fi -done <<< "$NB_FILES"