From b642fed5bb73914e6fd5919810237c33a759553c Mon Sep 17 00:00:00 2001 From: Audrey Roy Greenfeld Date: Thu, 24 Sep 2015 00:38:04 -0700 Subject: [PATCH] Starter docs on our flake8 setup. --- docs/linters.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/linters.rst b/docs/linters.rst index 3349faed..09d5744b 100644 --- a/docs/linters.rst +++ b/docs/linters.rst @@ -2,3 +2,16 @@ Linters ======= .. index:: linters + + +flake8 +------- + +To run flake8: + + $ flake8 + +The config for flake8 is located in setup.cfg. It specifies: + +* Set max line length to 120 chars +* Exclude .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules