Install flake8
$ pip install flake8`
Edit pre-commit file
$ vim .git/hooks/pre-commit`
to show and enforce styleguide conventions before commit, add the following:
#!/bin/sh
flake8 .
Install flake8
$ pip install flake8`
Edit pre-commit file
$ vim .git/hooks/pre-commit`
to show and enforce styleguide conventions before commit, add the following:
#!/bin/sh
flake8 .