mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-06-23 19:27:59 +02:00
added pre-commit 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)
|
||||
git add $(git diff --cached --name-only --diff-filter=ACM)
|
Reference in New Issue
Block a user