forked from Firepup650/python-talk
8 lines
205 B
Text
8 lines
205 B
Text
|
#!/bin/bash
|
||
|
|
||
|
echo "Running pre-commit hook"
|
||
|
pre-commit run -a
|
||
|
git diff --name-only --cached | xargs git add
|
||
|
echo "Re-running pre-commit hook, to check for actual (non-formatting) errors"
|
||
|
pre-commit run -a
|