mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-12-16 10:21:20 +01: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