summaryrefslogtreecommitdiff
path: root/docs/leap-flake8.pre-commit.hook
diff options
context:
space:
mode:
Diffstat (limited to 'docs/leap-flake8.pre-commit.hook')
-rwxr-xr-xdocs/leap-flake8.pre-commit.hook7
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/leap-flake8.pre-commit.hook b/docs/leap-flake8.pre-commit.hook
deleted file mode 100755
index b00fd08a..00000000
--- a/docs/leap-flake8.pre-commit.hook
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-# Auto-check for pep8 so I don't check in bad code
-FILES=$(git diff --cached --name-only --diff-filter=ACM | grep -e '\.py$')
-
-if [ -n "$FILES" ]; then
- flake8 -r $FILES
-fi