0
0
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:
2023-07-13 17:17:22 +02:00
parent 34e5ed2cf7
commit 550c36860e

2
.git_hooks/pre-commit Executable file
View 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')