From d02af07d35040e1cffa647ada9d36b4cc75b5398 Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Mon, 11 Jun 2018 14:50:24 +0300 Subject: [PATCH] Add not about flake8 pre-commit hooks --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0cbe9167d..b5b01e020 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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)