Skip to content

Commit

Permalink
add black pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
krysopath committed Apr 20, 2019
1 parent 9cafe90 commit bca1544
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .githooks/hook.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh
# --<all your diff are belong to us>
# |
# |
# |
# | |
# | ---
# --- '-'
# '-' ____|_____
# ____|__/ | /
# / | / | /
# / |( | (
# ( | \ | \
# \ | \____|____\ /|
# /\____|___`---.----` .' |
# .-'/ | \ |__.--' \
# .'/ ( | \ |. \
#_ /_/ \ | \ | `. \
# `-.' \.--._|.---` | `-._______\
# ``-.-------'-------'------------/
# `'._______________________.'
# HMS HOOK

for h in "$(dirname "$0")"/"$(basename "$0")".d/*; do test -x "$h" && $h; done
1 change: 1 addition & 0 deletions .githooks/pre-commit
1 change: 1 addition & 0 deletions .githooks/pre-commit.d/00-black
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
black ./vaultify

0 comments on commit bca1544

Please sign in to comment.