mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
9 lines
178 B
Bash
Executable file
9 lines
178 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
which pre-commit > /dev/null
|
|
if [ $? -ne 0 ]; then
|
|
echo '`pre-commit` not found. Did you forget to activate your virtualenv?'
|
|
exit 1
|
|
fi
|
|
|
|
pre-commit
|