From 8bb304877547710e8deef328beddb23a1f6b9975 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Tue, 14 Jun 2016 20:43:00 -0500 Subject: [PATCH] Add documentation for --install-hook --- docs/source/user/options.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/source/user/options.rst b/docs/source/user/options.rst index 9e998ee..69aec6e 100644 --- a/docs/source/user/options.rst +++ b/docs/source/user/options.rst @@ -492,6 +492,28 @@ This **can not** be specified in config files. +.. option:: --install-hook=VERSION_CONTROL_SYSTEM + + Install a hook for your version control system that is executed before + or during commit. + + The available options are: + + - git + - mercurial + + Command-line usage: + + .. prompt:: bash + + flake8 --install-hook=git + flake8 --install-hook=mercurial + + This **can not** be specified in config files. + +Thank you for your contribution to Flake8's documentation. + + .. option:: --jobs= Specify the number of subprocesses that Flake8 will use to run checks in