Add not about flake8 pre-commit hooks

This commit is contained in:
Janne Sinivirta 2018-06-11 14:50:24 +03:00
parent c46e50864b
commit d02af07d35
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ pip3.6 install flake8 coveralls
flake8 freqtrade
```
We receive a lot of code that fails the `flake8` checks.
To help with that, we encourage you to install the git pre-commit
hook that will warn you when you try to commit code that fails these checks.
Guide for installing them is [here](http://flake8.pycqa.org/en/latest/user/using-hooks.html).
## 3. Test if all type-hints are correct
**Install packages** (If not already installed)