mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-13 11:11:49 +02:00
refactor: Added .git_hook
This commit is contained in:
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 -- '***.py')
|
||||
git add $(git diff --cached --name-only --diff-filter=ACM -- '***.py')
|
Reference in New Issue
Block a user