added pre-commit hook
This commit is contained in:
parent
ac234edd56
commit
000bdfda12
2
.git_hooks/pre-commit
Executable file
2
.git_hooks/pre-commit
Executable file
@ -0,0 +1,2 @@
|
||||
black --line-length=100 $(git diff --cached --name-only --diff-filter=ACM)
|
||||
git add $(git diff --cached --name-only --diff-filter=ACM)
|
Loading…
x
Reference in New Issue
Block a user