mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-24 01:33:46 +08:00
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
if [ -z $(which flake8) ]; then
|
||||
echo "Installing flake8"
|
||||
sudo pip install flake8
|
||||
fi
|
||||
|
||||
echo "Setting up commit hook"
|
||||
cp -u --remove-destination pre-commit.sh .git/hooks/pre-commit
|
||||
Reference in New Issue
Block a user