From efc470ff4cc325c849c3491ecee46e4522b997ac Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 7 Sep 2017 01:08:01 -0400 Subject: [PATCH] Add information on installing flake8's git hook. Signed-off-by: Roberto Rosario --- docs/topics/development.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/topics/development.rst b/docs/topics/development.rst index 5e0e37f561..713dc6837d 100644 --- a/docs/topics/development.rst +++ b/docs/topics/development.rst @@ -54,6 +54,12 @@ Whenever possible, but don't obsess over things like line length: $ flake8 --ignore=E501,E128,E122 |less +To perform automatic PEP8 checks, install flake8's git hook using: + +.. code-block:: bash + + $ flake8 --install-hook git + Imports ~~~~~~~