...
Code Block | ||
---|---|---|
| ||
# Configure git
git config --global user.name "Your Name"
git config --global user.email youremail@example.com
git config --global push.default simple
git config --global core.autocrlf input
# Only works for git >= 2.9
git config core.hooksPath hooks
# If git < 2.9 (All boxes before the 18.04 release)
rm -rf .git/hooks && ln -s ~/shared/fwxv/hooks .git/hooks
# Make sure that pylint is up to date so that the hooks don't fail, and install autopep8 for Python formatting
pip3 install pylint autopep8
# Make sure virtualenv is installed so Python dependencies get properly installed
sudo pip3 install virtualenv |
...