mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-11 11:32:26 -06:00
10 lines
178 B
Bash
Executable File
10 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
|