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"