diff --git a/docs/linters.rst b/docs/linters.rst index 3349faed9..09d5744b5 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