From 42fe4f645b0a0ac1a95cd4eaba8872eb8ac4b8b5 Mon Sep 17 00:00:00 2001 From: Audrey Roy Greenfeld Date: Sat, 26 Sep 2015 00:50:54 -0700 Subject: [PATCH] Update pylint and pep8 docs. --- docs/linters.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/linters.rst b/docs/linters.rst index 21c849aa..c2f76f35 100644 --- a/docs/linters.rst +++ b/docs/linters.rst @@ -23,9 +23,21 @@ This is included in flake8's checks, but you can also run it separately to see a $ pylint +The config for pylint is located in .pylintrc. It specifies: + +* Use the pylint_common and pylint_django plugins. If using Celery, also use pylint_celery. +* Set max line length to 120 chars +* Disable linting messages for missing docstring and invalid name +* max-parents=13 + pep8 ----- This is included in flake8's checks, but you can also run it separately to see a more detailed report: $ pep8 + +The config for pep8 is located in setup.cfg. It specifies: + +* Set max line length to 120 chars +* Exclude .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules \ No newline at end of file