From 21cc0b23d56f9746ca5bcc633d7ea4af4a0263d9 Mon Sep 17 00:00:00 2001 From: Rachel TORCHET <racheltorchet@users.noreply.github.com> Date: Mon, 24 Feb 2020 16:55:28 +0100 Subject: [PATCH] --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 731f6a2f..ab8d0cf4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,14 @@ # ippidb-web This repository contains the django web application that manages the iPPI-DB -database. \ No newline at end of file +database. + +## run flake8 before commit +From the root of the project: +``` +. .venv/bin/activate +pip install -q flake8 +flake8 --install-hook git +git config --bool flake8.strict true +ln -s ippisite/.flake8 .flake8 +``` \ No newline at end of file -- GitLab