diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-10-03 20:40:03 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-10-03 21:48:27 -0400 |
commit | 5519d02f609a87b0ca47a8e82c116811005b6277 (patch) | |
tree | eea053d2ff8f99a80b2595119cfae829781135a1 /docs/leap-autopep8.post-commit.hook | |
parent | 8cdbf714b905246363221089bbf8579e7c8e020c (diff) |
[docs] revamp bitmask dev docs
Diffstat (limited to 'docs/leap-autopep8.post-commit.hook')
-rwxr-xr-x | docs/leap-autopep8.post-commit.hook | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/docs/leap-autopep8.post-commit.hook b/docs/leap-autopep8.post-commit.hook deleted file mode 100755 index cffb1d5..0000000 --- a/docs/leap-autopep8.post-commit.hook +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Auto pep8 correction as a post-commit hook. -# Thanks to http://victorlin.me/posts/2014/02/05/auto-post-commit-pep8-correction - -echo "[+] running autopep8..." -FILES=$(git diff HEAD^ HEAD --name-only --diff-filter=ACM | grep -e '\.py$') - -for f in $FILES -do - # auto pep8 correction - autopep8 --in-place $f -done - -git status |